Made code more like C89.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2582 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2aab7cc4b5
commit
1305c88d18
1 changed files with 4 additions and 3 deletions
|
@ -666,13 +666,14 @@ bool wps_display(struct mp3entry* id3)
|
|||
#if defined(HAVE_LCD_CHARCELLS)
|
||||
bool draw_player_progress(struct mp3entry* id3, int ff_rewwind_count)
|
||||
{
|
||||
if(!id3)
|
||||
return(false);
|
||||
char player_progressbar[7];
|
||||
char binline[36];
|
||||
int songpos = 0;
|
||||
int i,j;
|
||||
|
||||
if (!id3)
|
||||
return false;
|
||||
|
||||
memset(binline, 1, sizeof binline);
|
||||
memset(player_progressbar, 1, sizeof player_progressbar);
|
||||
if(id3->elapsed >= id3->length)
|
||||
|
@ -694,6 +695,6 @@ bool draw_player_progress(struct mp3entry* id3, int ff_rewwind_count)
|
|||
}
|
||||
}
|
||||
lcd_define_pattern(8,player_progressbar,7);
|
||||
return(true);
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue