diff options
-rw-r--r-- | apps/plugins/jpeg.c | 2 | ||||
-rw-r--r-- | apps/plugins/video.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c index 312fd82ce6..4e47d9faf2 100644 --- a/apps/plugins/jpeg.c +++ b/apps/plugins/jpeg.c | |||
@@ -1607,7 +1607,7 @@ 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->scrollbar(0, LCD_HEIGHT-8, LCD_WIDTH, 8, 0, total, | 1610 | rb->scrollbar(0, LCD_HEIGHT-8, LCD_WIDTH, 8, total, 0, |
1611 | current, HORIZONTAL); | 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 | } |
diff --git a/apps/plugins/video.c b/apps/plugins/video.c index eec600b90f..c1ce149ea3 100644 --- a/apps/plugins/video.c +++ b/apps/plugins/video.c | |||
@@ -238,7 +238,7 @@ void DrawPosition(int pos, int total) | |||
238 | /* draw a slider over the rest of the line */ | 238 | /* draw a slider over the rest of the line */ |
239 | rb->lcd_getstringsize(gPrint, &w, &h); | 239 | rb->lcd_getstringsize(gPrint, &w, &h); |
240 | w++; | 240 | w++; |
241 | rb->scrollbar(w, LCD_HEIGHT-7, LCD_WIDTH-w, 7, 0, total, pos, HORIZONTAL); | 241 | rb->scrollbar(w, LCD_HEIGHT-7, LCD_WIDTH-w, 7, total, 0, pos, HORIZONTAL); |
242 | 242 | ||
243 | if (gPlay.state == paused) // we have to draw ourselves | 243 | if (gPlay.state == paused) // we have to draw ourselves |
244 | rb->lcd_update_rect(0, LCD_HEIGHT-8, LCD_WIDTH, 8); | 244 | rb->lcd_update_rect(0, LCD_HEIGHT-8, LCD_WIDTH, 8); |