diff options
Diffstat (limited to 'source/blender/editors/space_file/fsmenu.c')
-rw-r--r-- | source/blender/editors/space_file/fsmenu.c | 2 |
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( |