diff --git a/ChangeLog b/ChangeLog index e0576e57b..6b0576d93 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-05-04 Vladimir Serbinenko + + * grub-core/normal/menu.c (run_menu): Fix timeout reference point. + 2013-05-04 Vladimir Serbinenko * grub-core/gettext/gettext.c: Try $lang.gmo as well. diff --git a/grub-core/normal/menu.c b/grub-core/normal/menu.c index 787b28775..fba19db99 100644 --- a/grub-core/normal/menu.c +++ b/grub-core/normal/menu.c @@ -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)