Commit e242b445 authored by nanahira's avatar nanahira

fix

parent 37de6356
......@@ -1015,7 +1015,6 @@ void Game::RefreshSingleplay() {
void Game::RefreshLocales() {
cbLocale->clear();
cbLocale->addItem(L"default");
cbLocale->clear();
FileSystem::TraversalDir(L"./locales", [this](const wchar_t* name, bool isdir) {
if(isdir && wcscmp(name, L".") && wcscmp(name, L".."))
cbLocale->addItem(name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment