JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
finish high-score entry on KP_ENTER too
authorJason Woofenden <jason283@herkamire.com>
Mon, 2 Feb 2009 00:03:08 +0000 (19:03 -0500)
committerJason Woofenden <jason283@herkamire.com>
Mon, 2 Feb 2009 00:03:08 +0000 (19:03 -0500)
score.c

diff --git a/score.c b/score.c
index 07c52a5..b21345c 100644 (file)
--- a/score.c
+++ b/score.c
@@ -192,7 +192,7 @@ process_score_input(SDL_keysym *key)
        if(key->sym == SDLK_BACKSPACE) {
                if(n > 0) name[--n]=0;
        } else {
-               if(key->sym == SDLK_RETURN) {
+               if(key->sym == SDLK_RETURN || key->sym == SDLK_KP_ENTER) {
                        SDL_EnableUNICODE(0);
                        cur_score = -1;
                        if(n == 0) {