Changed: Removed wrong check

This commit is contained in:
kervala 2016-03-18 22:09:43 +01:00
parent 03715a64e0
commit bde61427a5

View file

@ -329,7 +329,7 @@ std::string CI18N::getSystemLanguageCode ()
#ifdef NL_OS_WINDOWS #ifdef NL_OS_WINDOWS
// use user locale under Windows (since Vista) // use user locale under Windows (since Vista)
if (_SystemLanguageCode.empty() && false) if (_SystemLanguageCode.empty())
{ {
// GetUserDefaultLocaleName prototype // GetUserDefaultLocaleName prototype
typedef int (WINAPI* GetUserDefaultLocaleNamePtr)(LPWSTR lpLocaleName, int cchLocaleName); typedef int (WINAPI* GetUserDefaultLocaleNamePtr)(LPWSTR lpLocaleName, int cchLocaleName);