[Orxonox-commit 7407] r12022 - code/branches/cegui0.8_ogre1.9/src/external/ois/linux

patricwi at orxonox.net patricwi at orxonox.net
Wed Sep 26 10:44:07 CEST 2018


Author: patricwi
Date: 2018-09-26 10:44:07 +0200 (Wed, 26 Sep 2018)
New Revision: 12022

Modified:
   code/branches/cegui0.8_ogre1.9/src/external/ois/linux/LinuxKeyboard.cpp
Log:
Set locale to minimum locale C and not user-preferred locale, as CEGUI 0.8 requires locale set to C

Modified: code/branches/cegui0.8_ogre1.9/src/external/ois/linux/LinuxKeyboard.cpp
===================================================================
--- code/branches/cegui0.8_ogre1.9/src/external/ois/linux/LinuxKeyboard.cpp	2018-09-20 13:11:38 UTC (rev 12021)
+++ code/branches/cegui0.8_ogre1.9/src/external/ois/linux/LinuxKeyboard.cpp	2018-09-26 08:44:07 UTC (rev 12022)
@@ -35,7 +35,7 @@
 LinuxKeyboard::LinuxKeyboard(InputManager* creator, bool buffered, bool grab)
 	: Keyboard(creator->inputSystemName(), buffered, 0, creator)
 {
-	setlocale(LC_CTYPE, ""); //Set the locale to (hopefully) the users LANG UTF-8 Env var
+	setlocale(LC_CTYPE, "C"); //Set the locale to (hopefully) the users LANG UTF-8 Env var
 
 	display = 0;
 	window = 0;



More information about the Orxonox-commit mailing list