From: Vladimir 'phcoder' Serbinenko Date: Sat, 4 May 2013 11:43:07 +0000 (+0200) Subject: * grub-core/normal/menu.c (run_menu): Fix timeout reference point. X-Git-Tag: grub-2.02-beta1~1046 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c686014c1bdb8eda308b83ee61b5f5ba747b13cf;p=thirdparty%2Fgrub.git * grub-core/normal/menu.c (run_menu): Fix timeout reference point. --- 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)