From c904e65ff7f8cea2836da51674b2b9ee98d8aef7 Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 9 Sep 2005 16:45:03 +0000 Subject: [PATCH] break glass in case of emergency (e.g. .rdata overflows) git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4257 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/exehead/Ui.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/exehead/Ui.c b/Source/exehead/Ui.c index 6619fd98..56581ffa 100644 --- a/Source/exehead/Ui.c +++ b/Source/exehead/Ui.c @@ -435,6 +435,8 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) m_hwndCancel=GetDlgItem(hwndDlg,IDCANCEL); SetDlgItemTextFromLang(hwndDlg,IDC_VERSTR,LANG_BRANDING); SetClassLong(hwndDlg,GCL_HICON,(long)g_hIcon); + // use the following line instead of the above, if .rdata needs shirking + //SendMessage(hwndDlg,WM_SETICON,ICON_BIG,(LPARAM)g_hIcon); #if defined(NSIS_SUPPORT_CODECALLBACKS) && defined(NSIS_CONFIG_ENHANCEDUI_SUPPORT) g_quit_flag = ExecuteCallbackFunction(CB_ONGUIINIT); #endif