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:
@@ -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.
|
* Distributed under the terms of the MIT License.
|
||||||
*
|
*
|
||||||
* Authors:
|
* Authors:
|
||||||
@@ -754,7 +754,7 @@ ModifierKeysWindow::_DuplicateKeys()
|
|||||||
if (left == 0 && right == 0)
|
if (left == 0 && right == 0)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (left == testLeft && right == testRight) {
|
if (left == testLeft || right == testRight) {
|
||||||
duplicateMask |= 1 << testKey;
|
duplicateMask |= 1 << testKey;
|
||||||
duplicateMask |= 1 << key;
|
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.
|
* Distributed under the terms of the MIT License.
|
||||||
*
|
*
|
||||||
* Authors:
|
* Authors:
|
||||||
|
|||||||
Reference in New Issue
Block a user