ui/ncurses: Use 'New' instead of 'Open'
[petitboot] / ui / ncurses / nc-menu.c
index e28168edd4cf6d253e10e4c2f04fa3939fd25192..073860bbfc772f0a9b59730111ddd1e382870d0b 100644 (file)
@@ -232,8 +232,7 @@ static void pmenu_process_key(struct nc_scr *scr, int key)
                if (item->on_edit)
                        item->on_edit(item);
                break;
-       case 'o':
-               DBGS("on_open: %p\n", menu->on_open);
+       case 'n':
                if (menu->on_open)
                        menu->on_open(menu);
                break;