summaryrefslogtreecommitdiff
path: root/apps/plugins/video.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/video.c
parent209210e265cae4fe2fc35a92e74247df5d1d6a2d (diff)
scrollbar() parameters were swapped
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4859 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/video.c')
-rw-r--r--apps/plugins/video.c2
1 files changed, 1 insertions, 1 deletions
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)
/* draw a slider over the rest of the line */
rb->lcd_getstringsize(gPrint, &w, &h);
w++;
- rb->scrollbar(w, LCD_HEIGHT-7, LCD_WIDTH-w, 7, 0, total, pos, HORIZONTAL);
+ rb->scrollbar(w, LCD_HEIGHT-7, LCD_WIDTH-w, 7, total, 0, pos, HORIZONTAL);
if (gPlay.state == paused) // we have to draw ourselves
rb->lcd_update_rect(0, LCD_HEIGHT-8, LCD_WIDTH, 8);