From 6b559b1f976387a93f9ccc692eaea9dd8f9f5fc4 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Fri, 9 Jul 2004 07:04:45 +0000 Subject: scrollbar() parameters were swapped git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4859 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins/video.c') diff --git a/apps/plugins/video.c b/apps/plugins/video.c index eec600b..c1ce149 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); -- cgit v1.1