startup: default file selector to empty filename

Someone saved startup.blend w/ filename, tsk.
This commit is contained in:
Campbell Barton 2018-12-19 12:40:58 +11:00
parent fd42fe6616
commit 1a98914bb7
1 changed files with 1 additions and 0 deletions

View File

@ -131,6 +131,7 @@ void BLO_update_defaults_startup_blend(Main *bmain, const char *app_template)
const char *dir_default = BKE_appdir_folder_default();
if (dir_default) {
STRNCPY(sfile->params->dir, dir_default);
sfile->params->file[0] = '\0';
}
}
break;