From 75d0211ffdf8ff76966ee495bb474ae749d1fc98 Mon Sep 17 00:00:00 2001 From: kichik Date: Tue, 24 Jan 2006 17:57:50 +0000 Subject: [PATCH] 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 --- Source/exehead/Ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/exehead/Ui.c b/Source/exehead/Ui.c index f20c633a..855a70dc 100644 --- a/Source/exehead/Ui.c +++ b/Source/exehead/Ui.c @@ -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