Ver Fonte

UI: Remove conflicting setlocale call

Qt already sets LC_ALL to "" for non-Windows. We set LC_NUMERIC to "C"
afterward for sanity, and we don't want that setting to get smashed.
jpark37 há 3 anos atrás
pai
commit
f186b8c304
1 ficheiros alterados com 0 adições e 1 exclusões
  1. 0 1
      UI/platform-x11.cpp

+ 0 - 1
UI/platform-x11.cpp

@@ -213,7 +213,6 @@ string GetDefaultVideoSavePath()
 
 vector<string> GetPreferredLocales()
 {
-	setlocale(LC_ALL, "");
 	vector<string> matched;
 	string messages = setlocale(LC_MESSAGES, NULL);
 	if (!messages.size() || messages == "C" || messages == "POSIX")