Keymap mod keys: Conflict if either left or right
... key doesn't match rather than requiring both left and right keys to not match for a conflict. Also update copyright year
This commit is contained in:
parent
460168d586
commit
b87ee2bfeb
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2011 Haiku Inc. All rights reserved.
|
||||
* Copyright 2011-2013 Haiku Inc. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Authors:
|
||||
|
@ -754,7 +754,7 @@ ModifierKeysWindow::_DuplicateKeys()
|
|||
if (left == 0 && right == 0)
|
||||
continue;
|
||||
|
||||
if (left == testLeft && right == testRight) {
|
||||
if (left == testLeft || right == testRight) {
|
||||
duplicateMask |= 1 << testKey;
|
||||
duplicateMask |= 1 << key;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2011 Haiku Inc. All rights reserved.
|
||||
* Copyright 2011-2013 Haiku Inc. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Authors:
|
||||
|
|
Loading…
Reference in New Issue