Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/space_file/fsmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/fsmenu.c b/source/blender/editors/space_file/fsmenu.c
index daa3495b1c4..fb7822fe9ff 100644
--- a/source/blender/editors/space_file/fsmenu.c
+++ b/source/blender/editors/space_file/fsmenu.c
@@ -198,7 +198,7 @@ static void fsmenu_xdg_insert_entry(GHash *xdg_map,
BLI_path_join(dirpath, sizeof(dirpath), home, default_path, NULL);
}
else {
- BLI_snprintf(dirpath, sizeof(dirpath), xdg_path);
+ STRNCPY(dirpath, xdg_path);
}
fsmenu_insert_entry(