mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 17:57:14 +00:00
Don't output warning about unsupported language more than one time.
svn-id: r24459
This commit is contained in:
parent
17afeaa80e
commit
e58da07488
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user