From 6bbb9b1beb112cc13397cc172241bbdd673b5c3e Mon Sep 17 00:00:00 2001 From: cutealien Date: Fri, 28 Mar 2014 17:45:45 +0000 Subject: [PATCH] Fix typo. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4744 dfc29bdd-3216-0410-991c-e03cc46cb475 --- source/Irrlicht/CIrrDeviceLinux.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Irrlicht/CIrrDeviceLinux.cpp b/source/Irrlicht/CIrrDeviceLinux.cpp index 703e84b1..26b7ea94 100644 --- a/source/Irrlicht/CIrrDeviceLinux.cpp +++ b/source/Irrlicht/CIrrDeviceLinux.cpp @@ -881,9 +881,9 @@ bool CIrrDeviceLinux::createInputContext() // One one side it would be nicer to let users do that - on the other hand // not setting the environment locale will not work when using i18n X11 functions. // So users would have to call it always or their input is broken badly. - // We can restore immediately - so shouldn't mess with anything in users apps. + // We can restore immediately - so won't mess with anything in users apps. core::stringc oldLocale(setlocale(LC_CTYPE, NULL)); - setlocale(LC_CTYPE, ""); // use environmenbt locale + setlocale(LC_CTYPE, ""); // use environment locale if ( !XSupportsLocale() ) {