summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-04-26 14:02:10 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-04-26 14:02:10 +0000
commit386d838b8798766f2171b3d3d555033749a71afa (patch)
treec3fd3f379ed0206b6f18b71a34fbdc85d182efe9
parent09467f81700cb74e31ff1eb64f877d0cc595eaa7 (diff)
downloadrockbox-386d838b8798766f2171b3d3d555033749a71afa.tar.gz
rockbox-386d838b8798766f2171b3d3d555033749a71afa.zip
fix player warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13273 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/stopwatch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/stopwatch.c b/apps/plugins/stopwatch.c
index 6d4c4d6ac7..a2dd647e90 100644
--- a/apps/plugins/stopwatch.c
+++ b/apps/plugins/stopwatch.c
@@ -179,12 +179,13 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
179 int lap; 179 int lap;
180 int done = false; 180 int done = false;
181 bool update_lap = true; 181 bool update_lap = true;
182 int lines, h; 182 int lines;
183 183
184 (void)parameter; 184 (void)parameter;
185 rb = api; 185 rb = api;
186 186
187#ifdef HAVE_LCD_BITMAP 187#ifdef HAVE_LCD_BITMAP
188 int h;
188 rb->lcd_setfont(FONT_UI); 189 rb->lcd_setfont(FONT_UI);
189 rb->lcd_getstringsize("M", NULL, &h); 190 rb->lcd_getstringsize("M", NULL, &h);
190 lines = (LCD_HEIGHT / h) - (LAP_Y); 191 lines = (LCD_HEIGHT / h) - (LAP_Y);