1
0
Fork 0

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:
Peter Veenstra 2004-06-11 11:50:32 +00:00
parent 99f8e7208a
commit 8643400dc4

View file

@ -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"));
}