* grub-core/gfxmenu/view.c: Fix off-by-one error.
This commit is contained in:
parent
4985ddaa7a
commit
9efd73ec66
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2013-04-03 Vladimir Testov <vladimir.testov@rosalab.ru>
|
||||||
|
|
||||||
|
* grub-core/gfxmenu/view.c: Fix off-by-one error.
|
||||||
|
|
||||||
2013-04-03 Vladimir Testov <vladimir.testov@rosalab.ru>
|
2013-04-03 Vladimir Testov <vladimir.testov@rosalab.ru>
|
||||||
|
|
||||||
* grub-core/gfxmenu/gui_circular_progress.c: Fix off-by-one error.
|
* grub-core/gfxmenu/gui_circular_progress.c: Fix off-by-one error.
|
||||||
|
|
|
@ -195,7 +195,7 @@ grub_gfxmenu_print_timeout (int timeout, void *data)
|
||||||
if (view->first_timeout == -1)
|
if (view->first_timeout == -1)
|
||||||
view->first_timeout = timeout;
|
view->first_timeout = timeout;
|
||||||
|
|
||||||
update_timeouts (1, -(view->first_timeout + 1), -timeout, 0);
|
update_timeouts (1, -view->first_timeout, -timeout, 0);
|
||||||
redraw_timeouts (view);
|
redraw_timeouts (view);
|
||||||
grub_video_swap_buffers ();
|
grub_video_swap_buffers ();
|
||||||
if (view->double_repaint)
|
if (view->double_repaint)
|
||||||
|
|
Loading…
Reference in a new issue