Win32 was not honouring --lang language.

This commit is contained in:
Pere Pujal i Carabantes 2012-06-05 22:47:52 +00:00
parent f27567b9b7
commit bb4e17202d

View file

@ -747,6 +747,10 @@ static int set_current_language(const char *restrict loc)
mysetenv("LANGUAGE", oldloc);
set_langint_from_locale_string(oldloc);
} else {
#ifdef _WIN32
mysetenv("LANGUAGE", loc);
#endif
set_langint_from_locale_string(loc);
}