Improve swedish translations and add new translations to swedish.
[reactos.git] / base / applications / mscutils / servman / propsheet.c
index bd0ec24..f606a50 100644 (file)
@@ -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);