mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-09 03:41:10 +08:00
Fix dialog for error of loading language files
This commit is contained in:
parent
9460e257df
commit
9d92f4e072
@ -287,7 +287,7 @@ void LoadMessageFile(const char * fname) {
|
||||
FILE * mfile=testLoadLangFile(fname);
|
||||
/* This should never happen and since other modules depend on this use a normal printf */
|
||||
if (!mfile) {
|
||||
std::string message="Could not load language message file '"+std::string(fname)+"'. The default language will be used.";
|
||||
std::string message="Could not load language message file "+std::string(fname)+". The default language will be used.";
|
||||
systemmessagebox("Warning", message.c_str(), "ok","warning", 1);
|
||||
SetVal("dosbox", "language", "");
|
||||
LOG_MSG("MSG:Cannot load language file: %s",fname);
|
||||
|
Loading…
x
Reference in New Issue
Block a user