mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[SERVMAN] Fix return check on PropSheet_IsDialogMessage.
Should fix the regression introduced in the last commit. CORE-14068
This commit is contained in:
parent
069546f5a4
commit
d73a72c21d
1 changed files with 2 additions and 2 deletions
|
@ -83,14 +83,14 @@ unsigned int __stdcall PropSheetThread(void* Param)
|
|||
/* Pump the message queue */
|
||||
while (GetMessageW(&Msg, NULL, 0, 0))
|
||||
{
|
||||
if (PropSheet_GetCurrentPageHwnd(hDlg) == NULL)
|
||||
if (!PropSheet_GetCurrentPageHwnd(hDlg))
|
||||
{
|
||||
/* The user hit the ok / cancel button, pull it down */
|
||||
EnableWindow(pServicePropSheet->Info->hMainWnd, TRUE);
|
||||
DestroyWindow(hDlg);
|
||||
}
|
||||
|
||||
if (PropSheet_IsDialogMessage(hDlg, &Msg) != 0)
|
||||
if (!PropSheet_IsDialogMessage(hDlg, &Msg))
|
||||
{
|
||||
TranslateMessage(&Msg);
|
||||
DispatchMessageW(&Msg);
|
||||
|
|
Loading…
Reference in a new issue