Fix typo.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4744 dfc29bdd-3216-0410-991c-e03cc46cb475
master
cutealien 2014-03-28 17:45:45 +00:00
parent c5f271b4fc
commit 6bbb9b1beb
1 changed files with 2 additions and 2 deletions

View File

@ -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() )
{