From: Tobias Gläßer Date: Sat, 6 Mar 2004 11:29:44 +0000 (+0000) Subject: fixed bug introduced by the last commit. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=2a2c80213fb163bbf2e9050ab295c73ccebe80f3;p=supertux.git fixed bug introduced by the last commit. SVN-Revision: 175 --- diff --git a/src/menu.c b/src/menu.c index 4073a2421..ceedd5afb 100644 --- a/src/menu.c +++ b/src/menu.c @@ -451,6 +451,13 @@ void menu_event(SDL_keysym* keysym) menu_change = YES; break; case SDLK_SPACE: + if(current_menu->item[current_menu->active_item].kind == MN_TEXTFIELD) + { + menuaction = MN_INPUT; + menu_change = YES; + mn_input_char = ' '; + break; + } case SDLK_RETURN: /* Menu Hit */ menuaction = MN_HIT; menu_change = YES;