diff options
author | George Hazan <ghazan@miranda.im> | 2017-07-30 21:40:51 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-07-30 21:40:51 +0300 |
commit | 81af1660759b655e0e65bf2f955ef50e87975a13 (patch) | |
tree | 3fe4b9669bd6232abb99725ed1fa7560e6f19584 /plugins/TabSRMM | |
parent | d049eb6dd9de7f10469b62e67afc1485d832b0c3 (diff) |
minor code cleaning
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r-- | plugins/TabSRMM/src/msgdialog.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index 29b8826dd0..298fc77b1b 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -1535,12 +1535,6 @@ int CSrmmWindow::OnFilter(MSGFILTER *pFilter) bool isCtrl, isShift, isAlt;
KbdState(isShift, isCtrl, isAlt);
- MSG message;
- message.hwnd = m_hwnd;
- message.message = msg;
- message.lParam = lp;
- message.wParam = wp;
-
if (msg == WM_SYSKEYUP) {
if (wp == VK_MENU)
if (!m_bkeyProcessed && !(GetKeyState(VK_CONTROL) & 0x8000) && !(GetKeyState(VK_SHIFT) & 0x8000) && !(lp & (1 << 24)))
@@ -1550,6 +1544,7 @@ int CSrmmWindow::OnFilter(MSGFILTER *pFilter) }
if ((msg == WM_KEYDOWN || msg == WM_SYSKEYDOWN) && !(GetKeyState(VK_RMENU) & 0x8000)) {
+ MSG message = { m_hwnd, msg, wp, lp };
LRESULT mim_hotkey_check = Hotkey_Check(&message, TABSRMM_HK_SECTION_IM);
if (mim_hotkey_check)
m_bkeyProcessed = true;
|