From 2e5097200d76de37822d8dd67b67d45c888ba6d2 Mon Sep 17 00:00:00 2001 From: Ricardo Cruz Date: Thu, 22 Apr 2004 11:20:58 +0000 Subject: [PATCH] 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 --- src/menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0