summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;