https://git.reactos.org/?p=reactos.git;a=commitdiff;h=71ebfd8717bf3ff4469b7…
commit 71ebfd8717bf3ff4469b758f39ea853ec3c78d6a
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Thu Feb 8 00:27:27 2018 +0100
Commit: Thomas Faber <thomas.faber(a)reactos.org>
CommitDate: Sat Feb 10 18:04:03 2018 +0100
[OPENGLCFG] Fix a Clang-Cl warning about IDC_DEBUG_OUTPUT
"warning: use of logical '||' with constant operand
[-Wconstant-logical-operand]"
CORE-14306
---
dll/cpl/openglcfg/general.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/dll/cpl/openglcfg/general.c b/dll/cpl/openglcfg/general.c
index dcf53f55bf..0b9db4ca21 100644
--- a/dll/cpl/openglcfg/general.c
+++ b/dll/cpl/openglcfg/general.c
@@ -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: