From 3643de926b57f41d627e8d75df8138a4e3a02dd1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 19 Jul 2017 14:15:22 +0300 Subject: fixes #801 (StdMsg inserts a Tab in Message Window when changing from History window after opening URL) --- src/mir_app/src/srmm_base.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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: -- cgit v1.2.3