diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-08-26 17:07:32 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-08-26 17:08:17 +0300 |
commit | 2b55f621fe20389b73e8f913e8d867e31bfaacff (patch) | |
tree | 1864f0dff56ac661a5912e693febdaa96cf30661 /source/blender | |
parent | 1ff939f3f7d5cba72fddc5cc0b4a1bcf936bd64d (diff) |
Cleanup: fix compiler warnings
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/windowmanager/intern/wm_files.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index 8546290d281..9cf14f6d1d6 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -3038,7 +3038,7 @@ static uiBlock *block_create__close_file_dialog(struct bContext *C, struct ARegi BLI_path_extension_replace(filename, sizeof(filename), ""); } else { - BLI_snprintf(filename, sizeof(filename), IFACE_("Untitled")); + STRNCPY(filename, IFACE_("Untitled")); } /* Title */ |