diff --git a/src/bgfx_p.h b/src/bgfx_p.h index ec3265ba..b94491c8 100644 --- a/src/bgfx_p.h +++ b/src/bgfx_p.h @@ -2872,8 +2872,8 @@ namespace bgfx case WM_KEYDOWN: case WM_SYSKEYDOWN: - if (WM_KEYDOWN == _id && VK_F11 == _wparam - || WM_SYSKEYDOWN == _id && VK_RETURN == _wparam) + if ((WM_KEYDOWN == _id && VK_F11 == _wparam) + || (WM_SYSKEYDOWN == _id && VK_RETURN == _wparam)) { toggleWindowFrame(); }