Remove KEY_LEFT in nc-menu
authorGeoff Levand <geoff@infradead.org>
Sat, 12 Nov 2011 22:55:32 +0000 (14:55 -0800)
committerGeoff Levand <geoff@infradead.org>
Sat, 12 Nov 2011 22:55:32 +0000 (14:55 -0800)
Signed-off-by: Geoff Levand <geoff@infradead.org>
ui/ncurses/nc-menu.c

index 7302c6d0dab0295e7f911b9e44cfc2185b1de9f9..a8337a2e6e0018a7988761e4bdcd9ca047a34b6f 100644 (file)
@@ -234,7 +234,6 @@ static void pmenu_process_key(struct nc_scr *scr)
                case KEY_DOWN:
                        pmenu_move_cursor(menu, REQ_DOWN_ITEM);
                        break;
                case KEY_DOWN:
                        pmenu_move_cursor(menu, REQ_DOWN_ITEM);
                        break;
-               case KEY_LEFT:
                case 'e':
                        if (item->on_edit)
                                item->on_edit(item);
                case 'e':
                        if (item->on_edit)
                                item->on_edit(item);