From 382feb17950f5bd1c260cc7ba2f92d9780cc4753 Mon Sep 17 00:00:00 2001 From: Matthew Endsley Date: Mon, 2 Jul 2012 11:03:36 -0700 Subject: [PATCH] updating to cleaning compile in mingw with -Wall/-Wextra --- src/bgfx_p.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bgfx_p.h b/src/bgfx_p.h index ec3265ba6..b94491c82 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(); }