From 07a6286989fa8bb1f9fab151799815e5cad3a74b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sat, 10 May 2008 13:52:53 +0000 Subject: [PATCH] B_ZENKAKU_HANKAKU doesn't need B_COMMAND_KEY (I misunderstood the patch). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25421 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/input/InputServer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/servers/input/InputServer.cpp b/src/servers/input/InputServer.cpp index b92c2f6742..0c600e4763 100644 --- a/src/servers/input/InputServer.cpp +++ b/src/servers/input/InputServer.cpp @@ -1527,8 +1527,8 @@ InputServer::_SanitizeEvents(EventList& events) int8 byte = 0; event->FindInt8("byte", &byte); - if ((fKeyInfo.modifiers & B_COMMAND_KEY) != 0 - && (byte == ' ' || static_cast(byte) == B_ZENKAKU_HANKAKU)) { + if (((fKeyInfo.modifiers & B_COMMAND_KEY) != 0 && byte == ' ') + || static_cast(byte) == B_ZENKAKU_HANKAKU) { SetNextMethod(!fKeyInfo.modifiers & B_SHIFT_KEY); // this event isn't sent to the user