summaryrefslogtreecommitdiff
path: root/common/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/menu.c')
-rw-r--r--common/menu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/menu.c b/common/menu.c
index fd21e52a31..e85a3200ea 100644
--- a/common/menu.c
+++ b/common/menu.c
@@ -296,7 +296,7 @@ int menu_show(struct menu *m)
do {
if (m->auto_select >= 0)
- ch = KEY_ENTER;
+ ch = KEY_RETURN;
else
ch = getc();
@@ -339,7 +339,6 @@ int menu_show(struct menu *m)
m->selected->action(m, m->selected);
print_menu_entry(m, m->selected, 1);
break;
- case KEY_ENTER:
case KEY_RETURN:
clear();
gotoXY(1,1);