Fixed compressor initialization

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3186 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
icemank 2003-11-20 17:48:20 +00:00
parent 58b77bb410
commit da2ab7b4b5
2 changed files with 3 additions and 2 deletions

View file

@ -128,6 +128,7 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) {
SendDlgItemMessage(hwndDlg,IDC_LOGWIN,WM_SETFONT,(WPARAM)hFont,0);
SendDlgItemMessage(hwndDlg,IDC_LOGWIN,EM_SETBKGNDCOLOR,0,GetSysColor(COLOR_BTNFACE));
RestoreWindowPos(g_sdata.hwnd);
g_sdata.compressor = (NCOMPRESSOR)-1;
RestoreCompressor();
CompileNSISScript();
return TRUE;