summaryrefslogtreecommitdiffstats
path: root/views/controls/textfield/native_textfield_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/textfield/native_textfield_win.cc')
-rw-r--r--views/controls/textfield/native_textfield_win.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/controls/textfield/native_textfield_win.cc b/views/controls/textfield/native_textfield_win.cc
index 65c6b53..1ccf651 100644
--- a/views/controls/textfield/native_textfield_win.cc
+++ b/views/controls/textfield/native_textfield_win.cc
@@ -446,6 +446,8 @@ void NativeTextfieldWin::OnKeyDown(TCHAR key, UINT repeat_count, UINT flags) {
return;
case 0xbb: // Ctrl-'='. Triggers subscripting, even in plain text mode.
+ // We don't use VK_OEM_PLUS in case the macro isn't defined.
+ // (e.g., we don't have this symbol in embeded environment).
return;
case VK_PROCESSKEY: