diff options
Diffstat (limited to 'recovery.c')
-rw-r--r-- | recovery.c | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -441,11 +441,6 @@ get_menu_selection(char** headers, char** items, int menu_only, int selected = initial_selection; int chosen_item = -1; - // Some users with dead enter keys need a way to turn on power to select. - // Jiggering across the wrapping menu is one "secret" way to enable it. - // We can't rely on /cache or /sdcard since they may not be available. - int wrap_count = 0; - while (chosen_item < 0 && chosen_item != GO_BACK) { int key = ui_wait_key(); int visible = ui_text_visible(); @@ -459,6 +454,9 @@ get_menu_selection(char** headers, char** items, int menu_only, return ITEM_REBOOT; } } + else if (key == -2) { + return GO_BACK; + } int action = ui_handle_key(key, visible); |