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:
parent
f4301f3083
commit
bda50e825a
1 changed files with 4 additions and 1 deletions
|
@ -138,7 +138,10 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) {
|
||||||
if (g_warnings) SetTitle(g_hwnd,"Finished with Warnings");
|
if (g_warnings) SetTitle(g_hwnd,"Finished with Warnings");
|
||||||
else SetTitle(g_hwnd,"Finished Sucessfully");
|
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);
|
EnableItems(g_hwnd);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue