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
This commit is contained in:
Jérôme Duval 2008-05-10 13:52:53 +00:00
parent 3272810db4
commit 07a6286989

View File

@ -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<uint8>(byte) == B_ZENKAKU_HANKAKU)) {
if (((fKeyInfo.modifiers & B_COMMAND_KEY) != 0 && byte == ' ')
|| static_cast<uint8>(byte) == B_ZENKAKU_HANKAKU) {
SetNextMethod(!fKeyInfo.modifiers & B_SHIFT_KEY);
// this event isn't sent to the user