From fb3bcd24be4534c400aaeaa874411e977c7e3e67 Mon Sep 17 00:00:00 2001 From: kichik Date: Tue, 10 Apr 2007 20:34:05 +0000 Subject: [PATCH] g_sdata.script is expected not to be NULL git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5045 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/Makensisw/makensisw.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Contrib/Makensisw/makensisw.cpp b/Contrib/Makensisw/makensisw.cpp index 16e25c68..48b09ef3 100644 --- a/Contrib/Makensisw/makensisw.cpp +++ b/Contrib/Makensisw/makensisw.cpp @@ -180,6 +180,7 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) { SendDlgItemMessage(hwndDlg,IDC_LOGWIN,WM_SETFONT,(WPARAM)hFont,0); RestoreWindowPos(g_sdata.hwnd); RestoreCompressor(); + SetScript(""); g_sdata.compressor = COMPRESSOR_NONE_SELECTED; g_sdata.script_cmd_args = (char *) GlobalAlloc(GPTR, 1); g_sdata.userSelectCompressor = FALSE;