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:
parent
d2af877d81
commit
a3b572cf0a
@ -245,7 +245,7 @@ void OptionsScreenUI::eventCallback(Widget* widget, const std::string& name, con
|
|||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
_putenv("LANGUAGE=");
|
_putenv("LANGUAGE=");
|
||||||
#else
|
#else
|
||||||
setenv( "LANGUAGE", "", 1);
|
unsetenv("LANGUAGE");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user