Permalink
Browse files

clear temp_num when restart menu

  • Loading branch information...
chenall committed Apr 7, 2015
1 parent b04c135 commit 508b581e53ed033d53438cadf394f3da3db90398
Showing with 2 additions and 0 deletions.
  1. +2 −0 stage2/stage2.c
View
@@ -556,6 +556,8 @@ run_menu (char *menu_entries, char *config_entries, /*int num_entries,*/ char *h
pass_config = wee_skip_to(password_buf,SKIP_WITH_TERMINATE);
restart1:
//clear temp_num when restart menu
temp_num = 0;
/* Dumb terminal always use all entries for display
invariant for TERM_DUMB: first_entry == 0 */
if (! (current_term->flags & TERM_DUMB))

0 comments on commit 508b581

Please sign in to comment.