projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fa266c
)
Mistake that was making non-characters keys not to work after configuring keys.
author
Ricardo Cruz
<rick2@aeiou.pt>
Thu, 22 Apr 2004 11:20:58 +0000
(11:20 +0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Thu, 22 Apr 2004 11:20:58 +0000
(11:20 +0000)
Anyway, we still have to fix the fact that the keys are not shown when you open Controls for the first time.
SVN-Revision: 626
src/menu.cpp
patch
|
blob
|
history
diff --git
a/src/menu.cpp
b/src/menu.cpp
index
079e85d
..
e4db5a3
100644
(file)
--- a/
src/menu.cpp
+++ b/
src/menu.cpp
@@
-619,7
+619,7
@@
Menu::event(SDL_Event& event)
if(item[active_item].kind == MN_CONTROLFIELD)
{
- *item[active_item].int_p = event.key.keysym.
unicode
;
+ *item[active_item].int_p = event.key.keysym.
sym
;
if(ch[0] != '\0')
strcpy(item[active_item].input, ch);
else