From c7860be4a59d0905d1d438f1d6a55d548eef6ff6 Mon Sep 17 00:00:00 2001 From: kichik Date: Wed, 28 Aug 2002 21:27:40 +0000 Subject: [PATCH] $LANGUAGE problems fixed again git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@797 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/exehead/Ui.c | 2 ++ Source/exehead/ui.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/exehead/Ui.c b/Source/exehead/Ui.c index cea9a16d..ad1d940d 100644 --- a/Source/exehead/Ui.c +++ b/Source/exehead/Ui.c @@ -272,6 +272,8 @@ lang_again: goto lang_again; } + myitoa(state_language, cur_common_strings_table->lang_id); + process_string_from_lang(g_caption,LANGID_CAPTION); SendMessage(m_bgwnd, WM_SETTEXT, 0, (LPARAM)g_caption); diff --git a/Source/exehead/ui.h b/Source/exehead/ui.h index bb2f4576..90d00042 100644 --- a/Source/exehead/ui.h +++ b/Source/exehead/ui.h @@ -7,8 +7,6 @@ extern common_strings *cur_common_strings_table; extern char *cur_install_strings_table; // installer_strings/uninstall_strings depending on installer type -void NSISCALL set_language(LANGID lang); - int NSISCALL ui_doinstall(void); void NSISCALL update_status_text_from_lang(langid_t id, const char *text2); void NSISCALL update_status_text(const char *text1, const char *text2);