diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-02-26 13:51:34 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-02-26 13:51:34 +0300 |
commit | db7bb5bdd25ccbafbe32c097dc9750190e362f15 (patch) | |
tree | 115b3f90adbc00e767cf6ef00f5a98cb99cadeae /source/blender/editors/space_file/fsmenu.c | |
parent | 661b01825f811e949feae5ade8170efe09a716c2 (diff) |
Cleanup: fix compiler warning
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( |