summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-07-19 14:15:22 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-07-19 14:15:22 +0300
commit3643de926b57f41d627e8d75df8138a4e3a02dd1 (patch)
treeb8e17d093e7471e08d1c00dd431dfe1639e88f91 /src/mir_app
parent173362803cfadaac22a2719b94260c157df04bd1 (diff)
fixes #801 (StdMsg inserts a Tab in Message Window when changing from History window after opening URL)
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/srmm_base.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mir_app/src/srmm_base.cpp b/src/mir_app/src/srmm_base.cpp
index 9f61d324fa..f2f9db318c 100644
--- a/src/mir_app/src/srmm_base.cpp
+++ b/src/mir_app/src/srmm_base.cpp
@@ -173,7 +173,8 @@ LRESULT CSrmmBaseDialog::WndProc_Log(UINT msg, WPARAM wParam, LPARAM lParam)
case WM_CHAR:
SetFocus(m_message.GetHwnd());
- m_message.SendMsg(WM_CHAR, wParam, lParam);
+ if (wParam != '\t')
+ m_message.SendMsg(WM_CHAR, wParam, lParam);
break;
case WM_CONTEXTMENU: