diff --git a/ChangeLog b/ChangeLog index ebc71ebc7..8bdb17a75 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-04-03 Vladimir Testov + + * grub-core/gfxmenu/view.c: Fix off-by-one error. + 2013-04-03 Vladimir Testov * grub-core/gfxmenu/gui_circular_progress.c: Fix off-by-one error. diff --git a/grub-core/gfxmenu/view.c b/grub-core/gfxmenu/view.c index 1918ea44c..6de96ca00 100644 --- a/grub-core/gfxmenu/view.c +++ b/grub-core/gfxmenu/view.c @@ -195,7 +195,7 @@ grub_gfxmenu_print_timeout (int timeout, void *data) 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)