mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
fix empty locale bug
This commit is contained in:
@@ -295,7 +295,8 @@ void Settings::read() {
|
||||
wxFileInputStream file(filename);
|
||||
if (!file.Ok()) return; // failure is not an error
|
||||
Reader reader(file, nullptr, filename);
|
||||
reader.handle_greedy(*this);
|
||||
reader.handle_greedy(*this);
|
||||
if (locale.Trim().empty()) locale = _("en");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user