forked from len0rd/rockbox
several small fixes sugested by different people (FireFly, Lear, Takka)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8184 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1184ae9de7
commit
46b726eaab
4 changed files with 5 additions and 12 deletions
|
@ -920,10 +920,9 @@ static struct trackdata *add_track_to_tag_list(const char *filename)
|
|||
track->mempos = audiobuf_write;
|
||||
track->id3.elapsed = 0;
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
int w, h;
|
||||
lcd_getstringsize(track->id3.title, &w, &h);
|
||||
lcd_getstringsize(track->id3.artist, &w, &h);
|
||||
lcd_getstringsize(track->id3.album, &w, &h);
|
||||
lcd_getstringsize(track->id3.title, NULL, NULL);
|
||||
lcd_getstringsize(track->id3.artist, NULL, NULL);
|
||||
lcd_getstringsize(track->id3.album, NULL, NULL);
|
||||
#endif
|
||||
|
||||
track_write_idx = (track_write_idx+1) & MAX_TRACK_ENTRIES_MASK;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue