check g_tmp[0] not state_language[2]

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4500 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2006-01-24 17:57:50 +00:00
parent d03520360f
commit 75d0211ffd

View file

@ -257,7 +257,7 @@ FORCE_INLINE int NSISCALL ui_doinstall(void)
myRegGetStr(HKEY_CURRENT_USER, reg_9x_locale, NULL, g_tmp);
}
if (!state_language[2])
if (!g_tmp[0])
{
// Windows NT
// This key exists on 9x as well, so it's only read if ResourceLocale wasn't found