Fixed very old annoyance;

If the startup file ".Blanguages" is not found, Blender now will only printf
a warning if started in debug mode (-d). It used to popup a menu, even
before the UI was initialized, causing annoyance... it's irrelevant info.
This commit is contained in:
2005-03-01 15:29:01 +00:00
parent bd874641a9
commit a7afceb622

View File

@@ -370,8 +370,8 @@ int read_languagefile(void)
strcpy(name, ".Blanguages");
lines= BLI_read_file_as_lines(name);
if(lines == NULL) {
error("File \".Blanguages\" not found");
return 0;
if(G.f & G_DEBUG) printf("File .Blanguages not found\n");
return 0;
}
}
}