Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
vor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c4076c
)
finish high-score entry on KP_ENTER too
author
Jason Woofenden
<jason283@herkamire.com>
Mon, 2 Feb 2009 00:03:08 +0000
(19:03 -0500)
committer
Jason Woofenden
<jason283@herkamire.com>
Mon, 2 Feb 2009 00:03:08 +0000
(19:03 -0500)
score.c
patch
|
blob
|
history
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) {