|
|
a5bd9f6 |
From 7be9ea372ccf543e52f5a3d047d3e2023cd9e6b7 Mon Sep 17 00:00:00 2001
|
|
|
a5bd9f6 |
From: Vladimir Testov <vladimir.testov@rosalab.ru>
|
|
|
a5bd9f6 |
Date: Wed, 3 Apr 2013 08:53:58 +0200
|
|
|
a5bd9f6 |
Subject: [PATCH 241/364] * grub-core/gfxmenu/view.c: Fix off-by-one
|
|
|
a5bd9f6 |
error.
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
---
|
|
|
a5bd9f6 |
ChangeLog | 4 ++++
|
|
|
a5bd9f6 |
grub-core/gfxmenu/view.c | 2 +-
|
|
|
a5bd9f6 |
2 files changed, 5 insertions(+), 1 deletion(-)
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
diff --git a/ChangeLog b/ChangeLog
|
|
|
a5bd9f6 |
index ebc71eb..8bdb17a 100644
|
|
|
a5bd9f6 |
--- a/ChangeLog
|
|
|
a5bd9f6 |
+++ b/ChangeLog
|
|
|
a5bd9f6 |
@@ -1,5 +1,9 @@
|
|
|
a5bd9f6 |
2013-04-03 Vladimir Testov <vladimir.testov@rosalab.ru>
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
+ * grub-core/gfxmenu/view.c: Fix off-by-one error.
|
|
|
a5bd9f6 |
+
|
|
|
a5bd9f6 |
+2013-04-03 Vladimir Testov <vladimir.testov@rosalab.ru>
|
|
|
a5bd9f6 |
+
|
|
|
a5bd9f6 |
* grub-core/gfxmenu/gui_circular_progress.c: Fix off-by-one error.
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
2013-04-01 Radosław Szymczyszyn <lavrin@gmail.com>
|
|
|
a5bd9f6 |
diff --git a/grub-core/gfxmenu/view.c b/grub-core/gfxmenu/view.c
|
|
|
a5bd9f6 |
index 1918ea4..6de96ca 100644
|
|
|
a5bd9f6 |
--- a/grub-core/gfxmenu/view.c
|
|
|
a5bd9f6 |
+++ b/grub-core/gfxmenu/view.c
|
|
|
a5bd9f6 |
@@ -195,7 +195,7 @@ grub_gfxmenu_print_timeout (int timeout, void *data)
|
|
|
a5bd9f6 |
if (view->first_timeout == -1)
|
|
|
a5bd9f6 |
view->first_timeout = timeout;
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
- update_timeouts (1, -(view->first_timeout + 1), -timeout, 0);
|
|
|
a5bd9f6 |
+ update_timeouts (1, -view->first_timeout, -timeout, 0);
|
|
|
a5bd9f6 |
redraw_timeouts (view);
|
|
|
a5bd9f6 |
grub_video_swap_buffers ();
|
|
|
a5bd9f6 |
if (view->double_repaint)
|
|
|
a5bd9f6 |
--
|
|
|
a5bd9f6 |
1.8.1.4
|
|
|
a5bd9f6 |
|