This commit is contained in:
Alfred Eriksson 2008-10-23 18:19:17 +00:00
parent 34d9c53716
commit 4ce4849131

View file

@ -944,7 +944,7 @@ bool MENUS::on_input(INPUT_EVENT e)
if(is_active())
{
// special for popups
if(e.flags&INPFLAG_PRESS || e.key == KEY_RETURN)
if(e.flags&INPFLAG_PRESS && e.key == KEY_RETURN)
enter_pressed = true;
if(num_inputevents < MAX_INPUTEVENTS)