Should fix the regression introduced in the last commit.
CORE-14068
/* Pump the message queue */
while (GetMessageW(&Msg, NULL, 0, 0))
{
/* 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);
}
{
/* 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);
{
TranslateMessage(&Msg);
DispatchMessageW(&Msg);