fix #400, live language switch doesn't work for system language

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
red-skull 2011-08-30 00:02:59 +00:00
parent d2af877d81
commit a3b572cf0a

View File

@ -245,7 +245,7 @@ void OptionsScreenUI::eventCallback(Widget* widget, const std::string& name, con
#ifdef WIN32
_putenv("LANGUAGE=");
#else
setenv( "LANGUAGE", "", 1);
unsetenv("LANGUAGE");
#endif
}
else