* 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
|
@ -1,3 +1,7 @@
|
|||
2013-04-03 Vladimir Testov <vladimir.testov@rosalab.ru>
|
||||
|
||||
* grub-core/gfxmenu/gui_circular_progress.c: Fix off-by-one error.
|
||||
|
||||
2013-04-01 Radosław Szymczyszyn <lavrin@gmail.com>
|
||||
|
||||
* grub-core/partmap/apple.c (apple_partition_map_iterate): Add
|
||||
|
|
|
@ -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…
Reference in a new issue