From: hpa Date: Mon, 22 Aug 2005 20:38:41 +0000 (+0000) Subject: Remove special handling of P and N in menu X-Git-Tag: syslinux-3.11~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c6a71150a4b7bff89881c5b7b5910d29d6192d1;p=platform%2Fupstream%2Fsyslinux.git Remove special handling of P and N in menu --- diff --git a/com32/modules/menu.c b/com32/modules/menu.c index 40270c1..c403239 100644 --- a/com32/modules/menu.c +++ b/com32/modules/menu.c @@ -487,8 +487,7 @@ run_menu(void) } cmdline = menu_entries[entry].cmdline; break; - case 'P': - case 'p': + case KEY_CTRL('P'): case KEY_UP: if ( entry > 0 ) { entry--; @@ -496,8 +495,7 @@ run_menu(void) top -= MENU_ROWS; } break; - case 'N': - case 'n': + case KEY_CTRL('N'): case KEY_DOWN: if ( entry < nentries-1 ) { entry++; @@ -505,13 +503,11 @@ run_menu(void) top += MENU_ROWS; } break; - case KEY_CTRL('P'): case KEY_PGUP: case KEY_LEFT: entry -= MENU_ROWS; top -= MENU_ROWS; break; - case KEY_CTRL('N'): case KEY_PGDN: case KEY_RIGHT: case ' ':