https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d73a72c21d9e6ae57ce30c...
commit d73a72c21d9e6ae57ce30c44d2dbe5ee5952466c Author: Ged Murphy gedmurphy@reactos.org AuthorDate: Wed Dec 6 22:08:46 2017 +0000
[SERVMAN] Fix return check on PropSheet_IsDialogMessage.
Should fix the regression introduced in the last commit. CORE-14068 --- base/applications/mscutils/servman/propsheet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/base/applications/mscutils/servman/propsheet.c b/base/applications/mscutils/servman/propsheet.c index bd0ec24510..f606a50230 100644 --- a/base/applications/mscutils/servman/propsheet.c +++ b/base/applications/mscutils/servman/propsheet.c @@ -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);