summaryrefslogtreecommitdiff
path: root/src/core/stdmsg
diff options
context:
space:
mode:
authorPiotr Piastucki <leech.miranda@gmail.com>2015-11-03 15:12:36 +0000
committerPiotr Piastucki <leech.miranda@gmail.com>2015-11-03 15:12:36 +0000
commitf903074b63cf7a6f63476e14be1476056e6b76e3 (patch)
treef03b18c2491a1da3ab3f17a581992c27773b2a61 /src/core/stdmsg
parent666a961a16be6a92cccb0dbc0c0e6c20f8727838 (diff)
Stdmsg: Do not send tab key as input text to message window if user just wants to tab back to Msg window.
git-svn-id: http://svn.miranda-ng.org/main/trunk@15672 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/stdmsg')
-rw-r--r--src/core/stdmsg/src/richutil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stdmsg/src/richutil.cpp b/src/core/stdmsg/src/richutil.cpp
index 1ea7f0af1f..66b8c85b14 100644
--- a/src/core/stdmsg/src/richutil.cpp
+++ b/src/core/stdmsg/src/richutil.cpp
@@ -100,7 +100,7 @@ static LRESULT CALLBACK RichUtil_Proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
HWND hwndMsg = GetDlgItem(GetParent(hwnd), IDC_MESSAGE);
if (hwndMsg != hwnd) {
SetFocus(hwndMsg);
- SendMessage(hwndMsg, WM_CHAR, wParam, lParam);
+ if (wParam != '\t') SendMessage(hwndMsg, WM_CHAR, wParam, lParam);
}
}
break;