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
This commit is contained in:
parent
a99b2db925
commit
c904e65ff7
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue