Skip to contentSkip to conversation

first state of the timeouts is non-zero.

PATCH In review Vladimir Testov 1 participant 1 message Mar 13, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 2/4 first state of the timeouts is non-zero.

I think progress bar, starting for zero looks more usual and more adequate.

See screenshots.

Signature · 4 lines
With best regards,
_______________________________
Vladimir Testov, ROSA Laboratory.
www.rosalab.ru
grub-core/gfxmenu/view.c +1 -1
diff -Naur grub-new/grub-core/gfxmenu/view.c grub-new2/grub-core/gfxmenu/view.c
@@ -195,7 +195,7 @@
   if (view->first_timeout == -1)
     view->first_timeout = timeout;
 
-  update_timeouts (1, -(view->first_timeout + 1), -timeout, 0);
+  update_timeouts (1, -view->first_timeout, -timeout, 0);
   redraw_timeouts (view);
   grub_video_swap_buffers ();
   if (view->double_repaint)