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
This commit is contained in:
Teruaki Kawashima 2010-03-07 12:51:23 +00:00
parent 1e9789879f
commit f50885534e
6 changed files with 17 additions and 19 deletions

View file

@ -49,7 +49,7 @@ void ab_end_of_track_report(void);
#ifdef HAVE_LCD_BITMAP
#include "screen_access.h"
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);
#endif
/* These functions really need to be inlined for speed */