[OPENGLCFG] Fix a Clang-Cl warning about IDC_DEBUG_OUTPUT

"warning: use of logical '||' with constant operand [-Wconstant-logical-operand]"

CORE-14306
This commit is contained in:
Serge Gautherie 2018-02-08 00:27:27 +01:00 committed by Thomas Faber
parent a7ef5747b5
commit 71ebfd8717
No known key found for this signature in database
GPG key ID: 076E7C3D44720826

View 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: