circular progress bar: one tick is always missed
PATCH 1/4 circular progress bar: one tick is always missed
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.
Signature · 4 lines
With best regards, _______________________________ Vladimir Testov, ROSA Laboratory. www.rosalab.ru
grub-core/gfxmenu/gui_circular_progress.c +2 -2
@@ -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;