* grub-core/normal/menu.c (run_menu): Fix timeout reference point.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-05-04 13:43:07 +02:00
parent 0788a69514
commit c686014c1b
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2013-05-04 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/normal/menu.c (run_menu): Fix timeout reference point.
2013-05-04 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/gettext/gettext.c: Try $lang.gmo as well.

View file

@ -519,12 +519,12 @@ run_menu (grub_menu_t menu, int nested, int *auto_boot)
current_entry = default_entry;
/* Initialize the time. */
saved_time = grub_get_time_ms ();
refresh:
menu_init (current_entry, menu, nested);
/* Initialize the time. */
saved_time = grub_get_time_ms ();
timeout = grub_menu_get_timeout ();
if (timeout > 0)