From f50885534ec6fa78c2c89e275c5ffd592be5cd2e Mon Sep 17 00:00:00 2001 From: Teruaki Kawashima Date: Sun, 7 Mar 2010 12:51:23 +0000 Subject: Pass width instead of x+width to ab_draw_markers()/cue_draw_markers() and don't recalculate the width in these functions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25053 a1c6a512-1295-4272-9138-f99709370657 --- utils/wpseditor/libwps/src/dummies.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/wpseditor') diff --git a/utils/wpseditor/libwps/src/dummies.c b/utils/wpseditor/libwps/src/dummies.c index 96c30ee1b3..faeba63ea7 100644 --- a/utils/wpseditor/libwps/src/dummies.c +++ b/utils/wpseditor/libwps/src/dummies.c @@ -194,7 +194,7 @@ bool curr_cuesheet_skip(int direction, unsigned long curr_pos){return false;} #ifdef HAVE_LCD_BITMAP /* draw track markers on the progressbar */ void cue_draw_markers(struct screen *screen, unsigned long tracklen, -int x1, int x2, int y, int h){} +int x, int y, int w, int h){} #endif #ifdef HAVE_ALBUMART @@ -383,7 +383,7 @@ long default_event_handler(long event) } void ab_draw_markers(struct screen * screen, int capacity, - int x0, int x1, int y, int h) + int x, int y, int w, int h) { } void pcmbuf_beep(unsigned int frequency, size_t duration, int amplitude){} -- cgit v1.2.3