Remove language file from commandline if found, so that other commands will work
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1828
This commit is contained in:
parent
99f8e7208a
commit
8643400dc4
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ void MSG_Write(const char * location) {
|
|||
|
||||
void MSG_Init(Section_prop * section) {
|
||||
std::string file_name;
|
||||
if (control->cmdline->FindString("-lang",file_name)) {
|
||||
if (control->cmdline->FindString("-lang",file_name,true)) {
|
||||
LoadMessageFile(file_name.c_str());
|
||||
} else LoadMessageFile(section->Get_string("language"));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue