summaryrefslogtreecommitdiff
path: root/apps/plugins/jpeg.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-07-09 07:04:45 +0000
committerJens Arnold <amiconn@rockbox.org>2004-07-09 07:04:45 +0000
commit6b559b1f976387a93f9ccc692eaea9dd8f9f5fc4 (patch)
treed56350eb86687254b06a73fe6a2ac976c9abab65 /apps/plugins/jpeg.c
parent209210e265cae4fe2fc35a92e74247df5d1d6a2d (diff)
downloadrockbox-6b559b1f976387a93f9ccc692eaea9dd8f9f5fc4.tar.gz
rockbox-6b559b1f976387a93f9ccc692eaea9dd8f9f5fc4.zip
scrollbar() parameters were swapped
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4859 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/jpeg.c')
-rw-r--r--apps/plugins/jpeg.c2
1 files changed, 1 insertions, 1 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)
1607void cb_progess(int current, int total) 1607void 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}