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);