Now beeps when there are errors too

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@938 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2002-09-06 10:57:52 +00:00
parent f4301f3083
commit bda50e825a

View file

@ -138,7 +138,10 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) {
if (g_warnings) SetTitle(g_hwnd,"Finished with Warnings");
else SetTitle(g_hwnd,"Finished Sucessfully");
}
else SetTitle(g_hwnd,"Compile Error: See Log for Details");
else {
MessageBeep(MB_ICONEXCLAMATION);
SetTitle(g_hwnd,"Compile Error: See Log for Details");
}
EnableItems(g_hwnd);
return TRUE;
}