notaz.gp2x.de
/
libpicofe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0415ebf
)
input: bugfix in defbind check
author
notaz
<notasas@gmail.com>
Sun, 8 Nov 2015 16:19:22 +0000
(18:19 +0200)
committer
notaz
<notasas@gmail.com>
Sun, 8 Nov 2015 16:22:33 +0000
(18:22 +0200)
input.c
patch
|
blob
|
blame
|
history
diff --git
a/input.c
b/input.c
index
783ed1e
..
d0e4a4e
100644
(file)
--- a/
input.c
+++ b/
input.c
@@
-63,7
+63,7
@@
static int *in_alloc_binds(int drv_id, int key_count)
defbinds = DRV(drv_id).defbinds;
if (defbinds != NULL) {
for (i = 0; ; i++) {
- if (defbinds[i].
bit
== 0 && defbinds[i].btype == 0
+ if (defbinds[i].
code
== 0 && defbinds[i].btype == 0
&& defbinds[i].bit == 0)
break;