diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-24 15:42:16 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-24 15:42:16 +0300 |
commit | 5e7d1b8b4a6e4e645439d1213d7d13e457e0f86a (patch) | |
tree | 64eb80ea33df1c04601968445c9a8080e1305be9 | |
parent | e84bafdd3f3d2eb67e10a9bd3fbe600748962b6f (diff) |
warning fix
-rw-r--r-- | libs/win32/mir_app.lib | bin | 116354 -> 116354 bytes | |||
-rw-r--r-- | plugins/Scriver/src/chat_window.cpp | 6 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libs/win32/mir_app.lib b/libs/win32/mir_app.lib Binary files differindex 440bc9179c..1ef23f47d4 100644 --- a/libs/win32/mir_app.lib +++ b/libs/win32/mir_app.lib diff --git a/plugins/Scriver/src/chat_window.cpp b/plugins/Scriver/src/chat_window.cpp index 13a273c3ca..e7b3ecd9bc 100644 --- a/plugins/Scriver/src/chat_window.cpp +++ b/plugins/Scriver/src/chat_window.cpp @@ -672,9 +672,9 @@ INT_PTR CALLBACK CChatRoomDlg::FilterWndProc(HWND hwndDlg, UINT uMsg, WPARAM wPa LRESULT CChatRoomDlg::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam)
{
- BOOL isShift = GetKeyState(VK_SHIFT) & 0x8000;
- BOOL isCtrl = GetKeyState(VK_CONTROL) & 0x8000;
- BOOL isAlt = GetKeyState(VK_MENU) & 0x8000;
+ bool isShift = (GetKeyState(VK_SHIFT) & 0x8000) != 0;
+ bool isCtrl = (GetKeyState(VK_CONTROL) & 0x8000) != 0;
+ bool isAlt = (GetKeyState(VK_MENU) & 0x8000) != 0;
int result = InputAreaShortcuts(m_message.GetHwnd(), msg, wParam, lParam);
if (result != -1)
|