diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-04-26 14:02:10 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-04-26 14:02:10 +0000 |
commit | 386d838b8798766f2171b3d3d555033749a71afa (patch) | |
tree | c3fd3f379ed0206b6f18b71a34fbdc85d182efe9 /apps | |
parent | 09467f81700cb74e31ff1eb64f877d0cc595eaa7 (diff) | |
download | rockbox-386d838b8798766f2171b3d3d555033749a71afa.tar.gz rockbox-386d838b8798766f2171b3d3d555033749a71afa.zip |
fix player warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13273 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/stopwatch.c | 3 |
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); |