Permalink
Browse files

. 修正 bug (issues #125)

  • Loading branch information...
1 parent 99d6ddb commit 485bfd3a9862f311adcb707e4a7d365107b43c5a yaya committed Aug 15, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 stage2/stage2.c
View
@@ -706,7 +706,7 @@ run_menu (char *menu_entries, char *config_entries, /*int num_entries,*/ char *h
pass_config = wee_skip_to(password_buf,SKIP_WITH_TERMINATE);
/* clear keyboard buffer before boot */
- while (console_checkkey () != -1) console_getkey ();
+ while (console_checkkey () == 0x1c0d) console_getkey ();
restart1:
//clear temp_num when restart menu

0 comments on commit 485bfd3

Please sign in to comment.