Cleanup: fix compiler warning

This commit is contained in:
2019-08-26 13:47:00 +02:00
parent 2778754925
commit b5daed9680

View File

@@ -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 */