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:
61f66fe
)
final fixes for UIQ3
author
notaz
<notasas@gmail.com>
Sun, 24 Aug 2008 13:26:57 +0000
(13:26 +0000)
committer
notaz
<notasas@gmail.com>
Sun, 24 Aug 2008 13:26:57 +0000
(13:26 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@573
be3aeb3a
-fb24-0410-a615-
afba39da0efa
common/config.c
patch
|
blob
|
blame
|
history
diff --git
a/common/config.c
b/common/config.c
index
a621893
..
c530c95
100644
(file)
--- a/
common/config.c
+++ b/
common/config.c
@@
-729,7
+729,8
@@
static void keys_parse(const char *var, const char *val, int binds[32],
return;
}
- if (binds == currentConfig.KeyBinds && !(keys_encountered & (1<<t))) { // hack
+ // unbind old, but only when key is first encountered
+ if (t < 32 && binds == currentConfig.KeyBinds && !(keys_encountered & (1<<t))) {
binds[t] = 0;
keys_encountered |= 1<<t;
}