fix player warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13273 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
09467f8170
commit
386d838b87
1 changed files with 2 additions and 1 deletions
|
@ -179,12 +179,13 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
||||||
int lap;
|
int lap;
|
||||||
int done = false;
|
int done = false;
|
||||||
bool update_lap = true;
|
bool update_lap = true;
|
||||||
int lines, h;
|
int lines;
|
||||||
|
|
||||||
(void)parameter;
|
(void)parameter;
|
||||||
rb = api;
|
rb = api;
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP
|
#ifdef HAVE_LCD_BITMAP
|
||||||
|
int h;
|
||||||
rb->lcd_setfont(FONT_UI);
|
rb->lcd_setfont(FONT_UI);
|
||||||
rb->lcd_getstringsize("M", NULL, &h);
|
rb->lcd_getstringsize("M", NULL, &h);
|
||||||
lines = (LCD_HEIGHT / h) - (LAP_Y);
|
lines = (LCD_HEIGHT / h) - (LAP_Y);
|
||||||
|
|
Loading…
Reference in a new issue