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:
parent
d03520360f
commit
75d0211ffd
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ FORCE_INLINE int NSISCALL ui_doinstall(void)
|
||||||
myRegGetStr(HKEY_CURRENT_USER, reg_9x_locale, NULL, g_tmp);
|
myRegGetStr(HKEY_CURRENT_USER, reg_9x_locale, NULL, g_tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!state_language[2])
|
if (!g_tmp[0])
|
||||||
{
|
{
|
||||||
// Windows NT
|
// Windows NT
|
||||||
// This key exists on 9x as well, so it's only read if ResourceLocale wasn't found
|
// This key exists on 9x as well, so it's only read if ResourceLocale wasn't found
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue