[Super-tux-commit] supertux/src menu.cpp,1.45,1.46
Brought to you by:
wkendrick
From: Ricardo C. <rm...@us...> - 2004-04-22 11:21:07
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23994/src Modified Files: menu.cpp Log Message: Mistake that was making non-characters keys not to work after configuring keys. Anyway, we still have to fix the fact that the keys are not shown when you open Controls for the first time. Index: menu.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/menu.cpp,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- menu.cpp 21 Apr 2004 17:45:17 -0000 1.45 +++ menu.cpp 22 Apr 2004 11:20:58 -0000 1.46 @@ -619,7 +619,7 @@ 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 |