diff options
author | hpa <hpa> | 2005-08-22 20:38:41 +0000 |
---|---|---|
committer | hpa <hpa> | 2005-08-22 20:38:41 +0000 |
commit | 2c6a71150a4b7bff89881c5b7b5910d29d6192d1 (patch) | |
tree | c6062562fc179c3474c586e318b335da24271c77 /com32 | |
parent | ca4e2dcb4f373d3eae4a88ea6b49004554a9be92 (diff) | |
download | syslinux-2c6a71150a4b7bff89881c5b7b5910d29d6192d1.tar.gz |
Remove special handling of P and N in menu
Diffstat (limited to 'com32')
-rw-r--r-- | com32/modules/menu.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/com32/modules/menu.c b/com32/modules/menu.c index 40270c1d..c403239b 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 ' ': |