projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eeb0a21
)
Fix incorrect usage of && instead of &
author
Ran Benita
<ran234@gmail.com>
Sat, 24 Mar 2012 00:33:18 +0000
(
02:33
+0200)
committer
Daniel Stone
<daniel@fooishbar.org>
Tue, 27 Mar 2012 12:59:17 +0000
(13:59 +0100)
Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/keytypes.c
patch
|
blob
|
history
diff --git
a/src/xkbcomp/keytypes.c
b/src/xkbcomp/keytypes.c
index
5268d2d
..
0e00666
100644
(file)
--- a/
src/xkbcomp/keytypes.c
+++ b/
src/xkbcomp/keytypes.c
@@
-710,7
+710,7
@@
SetPreserve(KeyTypeInfo * type,
new.preMods = rtrn.uval & 0xff;
new.preVMods = (rtrn.uval >> 16) & 0xffff;
if ((new.preMods & (~new.indexMods))
- || (new.preVMods &
&
(~new.indexVMods)))
+ || (new.preVMods & (~new.indexVMods)))
{
if (warningLevel > 0)
{