Number of printed ticks is always decreased by 1. (see screenshots)

num_ticks = 8

Before - current state.
After - after applying the patch.
Appear - ticks are appearing.
Disappear - ticks are disappearing.
-- 
With best regards,
_______________________________
Vladimir Testov, ROSA Laboratory.
www.rosalab.ru

<<attachment: grub-guide-before-appear.png>>

<<attachment: grub-guide-before-disappear.png>>

<<attachment: grub-guide-after-appear.png>>

<<attachment: grub-guide-after-disappear.png>>

diff -Naur grub-2.00/grub-core/gfxmenu/gui_circular_progress.c grub-new/grub-core/gfxmenu/gui_circular_progress.c
--- grub-2.00/grub-core/gfxmenu/gui_circular_progress.c	2010-12-01 17:45:43.000000000 +0300
+++ grub-new/grub-core/gfxmenu/gui_circular_progress.c	2013-03-11 12:52:06.993973802 +0400
@@ -152,12 +152,12 @@
   if (self->ticks_disappear)
     {
       tick_begin = nticks;
-      tick_end = self->num_ticks - 1;
+      tick_end = self->num_ticks;
     }
   else
     {
       tick_begin = 0;
-      tick_end = nticks - 1;
+      tick_end = nticks;
     }
 
   int i;
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to