From 91c0e02609f9982150f9d2c2b8a82a3c7862a256 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Sat, 21 Sep 2013 20:20:38 +0200 Subject: [PATCH] Don't require running Dolphin in the directory that contain Languages/ on Windows --- Source/Core/DolphinWX/Src/Main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/Src/Main.cpp b/Source/Core/DolphinWX/Src/Main.cpp index efa838ecc5..285fc2729e 100644 --- a/Source/Core/DolphinWX/Src/Main.cpp +++ b/Source/Core/DolphinWX/Src/Main.cpp @@ -407,7 +407,7 @@ void DolphinApp::InitLanguageSupport() m_locale = new wxLocale(language); #ifdef _WIN32 - m_locale->AddCatalogLookupPathPrefix(wxT("Languages")); + m_locale->AddCatalogLookupPathPrefix(StrToWxStr(File::GetExeDirectory() + DIR_SEP "Languages")); #endif m_locale->AddCatalog(wxT("dolphin-emu"));