summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-08-29 17:57:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-08-29 17:57:39 +0300
commitff5533969ae8d41a5b29883e39f96320368ff6bf (patch)
tree786e06e100c4a89f55faa16b20eaee11cf6bf157
parent3a8879d68539321e154fb0f19dec3e1be67e82d5 (diff)
fixes #910 (jabber group chats closed by pressing ESC-key)
-rw-r--r--plugins/TabSRMM/src/chat_window.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/chat_window.cpp b/plugins/TabSRMM/src/chat_window.cpp
index b682843cd9..dc5b73e4b4 100644
--- a/plugins/TabSRMM/src/chat_window.cpp
+++ b/plugins/TabSRMM/src/chat_window.cpp
@@ -1211,8 +1211,9 @@ LRESULT CChatRoomDlg::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam)
if (PluginConfig.m_bSoundOnTyping && !isAlt && wParam == VK_DELETE)
SkinPlaySound("SoundOnTyping");
- if (ProcessHotkeys(wParam, isShift, isCtrl, isAlt))
- return true;
+ if (wParam != VK_ESCAPE)
+ if (ProcessHotkeys(wParam, isShift, isCtrl, isAlt))
+ return true;
if (wParam == VK_INSERT && !isShift && !isCtrl && !isAlt) {
m_bInsertMode = !m_bInsertMode;