Remove use of setlocale() in Osk as I could not figure out the purpose, and it broke stuff.

If this is actually needed, please send a pull request adding it back, turning it off when not used, and also add an explanation in a comment.
This commit is contained in:
Henrik Rydgard committed 2013-04-25 10:42:31 +02:00
1 parent dae8412a95
commit 6f23a56779
3 files changed
+5 -6

No files matched your search

+2 -1
View File
@@ -27,7 +27,7 @@
// Background worker threads should be spawned in NativeInit and joined
// in NativeShutdown.
#include <locale.h>
#include "base/logging.h"
#include "base/NativeApp.h"
@@ -194,6 +194,7 @@ void NativeGetAppInfo(std::string *app_dir_name, std::string *app_nice_name, boo
void NativeInit(int argc, const char *argv[], const char *savegame_directory, const char *external_directory, const char *installID)
{
EnableFZ();
setlocale( LC_ALL, "C" );
std::string user_data_path = savegame_directory;
isMessagePending = false;
// We want this to be FIRST.