[OPENGLCFG] Fix a Clang-Cl warning about IDC_DEBUG_OUTPUT
authorSerge Gautherie <reactos-git_serge_171003@gautherie.fr>
Wed, 7 Feb 2018 23:27:27 +0000 (00:27 +0100)
committerThomas Faber <thomas.faber@reactos.org>
Sat, 10 Feb 2018 17:04:03 +0000 (18:04 +0100)
"warning: use of logical '||' with constant operand [-Wconstant-logical-operand]"

CORE-14306

dll/cpl/openglcfg/general.c

index dcf53f5..0b9db4c 100644 (file)
@@ -170,8 +170,11 @@ INT_PTR CALLBACK GeneralPageProc(HWND hWndDlg, UINT uMsg, WPARAM wParam, LPARAM
             return TRUE;
 
         case WM_COMMAND:
-            if (LOWORD(wParam) == IDC_RENDERER || IDC_DEBUG_OUTPUT)
+            if (LOWORD(wParam) == IDC_RENDERER ||
+                LOWORD(wParam) == IDC_DEBUG_OUTPUT)
+            {
                 PropSheet_Changed(GetParent(hWndDlg), hWndDlg);
+            }
             break;
 
         case WM_NOTIFY: