Don't output warning about unsupported language more than one time.

svn-id: r24459
This commit is contained in:
Johannes Schickel 2006-10-22 20:04:45 +00:00
parent 17afeaa80e
commit e58da07488

View File

@ -408,7 +408,11 @@ bool StaticResource::loadLanguageTable(const char *filename, void *&ptr, int &si
strcpy(file, filename);
strcat(file, languages[0].ext);
if (loadStringTable(file, ptr, size)) {
warning("coudln't find specific language table for your version, using English now");
static bool warned = false;
if (!warned) {
warned = true;
warning("coudln't find specific language table for your version, using English now");
}
return true;
}