diff options
Diffstat (limited to 'apps/plugins/jpeg.c')
-rw-r--r-- | apps/plugins/jpeg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c index ed21222653..312fd82ce6 100644 --- a/apps/plugins/jpeg.c +++ b/apps/plugins/jpeg.c | |||
@@ -1607,8 +1607,8 @@ int wait_for_button(void) | |||
1607 | void cb_progess(int current, int total) | 1607 | void cb_progess(int current, int total) |
1608 | { | 1608 | { |
1609 | rb->yield(); /* be nice to the other threads */ | 1609 | rb->yield(); /* be nice to the other threads */ |
1610 | rb->progressbar(0, LCD_HEIGHT-8, LCD_WIDTH, 8, | 1610 | rb->scrollbar(0, LCD_HEIGHT-8, LCD_WIDTH, 8, 0, total, |
1611 | current*100/total, 0 /*Grow_Right*/); | 1611 | current, HORIZONTAL); |
1612 | rb->lcd_update_rect(0, LCD_HEIGHT-8, LCD_WIDTH, 8); | 1612 | rb->lcd_update_rect(0, LCD_HEIGHT-8, LCD_WIDTH, 8); |
1613 | } | 1613 | } |
1614 | 1614 | ||