* grub-core/gfxmenu/gui_circular_progress.c: Fix off-by-one error.
This commit is contained in:
parent
8c3635ff24
commit
4985ddaa7a
2 changed files with 6 additions and 2 deletions
|
@ -152,12 +152,12 @@ circprog_paint (void *vself, const grub_video_rect_t *region)
|
|||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue