From: Ricardo Cruz Date: Thu, 22 Apr 2004 11:20:58 +0000 (+0000) Subject: Mistake that was making non-characters keys not to work after configuring keys. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=2e5097200d76de37822d8dd67b67d45c888ba6d2;p=supertux.git 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. SVN-Revision: 626 --- diff --git a/src/menu.cpp b/src/menu.cpp index 079e85d9e..e4db5a363 100644 --- 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