From 71f71ef8370c90b818318cf0d04749bb8e15a82c Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Sun, 11 Aug 2002 09:20:53 +0000 Subject: Removed warnings git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1667 a1c6a512-1295-4272-9138-f99709370657 --- apps/menu.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps') diff --git a/apps/menu.c b/apps/menu.c index 7267afe193..4be4e78e87 100644 --- a/apps/menu.c +++ b/apps/menu.c @@ -57,12 +57,14 @@ static bool inuse[MAX_MENUS] = { false }; /* count in letter posistions, NOT pixels */ void put_cursorxy(int x, int y, bool on) { +#ifdef HAVE_LCD_BITMAP #ifdef LOADABLE_FONTS int fh; unsigned char* font = lcd_getcurrentldfont(); fh = ajf_get_fontheight(font); #else int fh = 8; +#endif #endif /* place the cursor */ -- cgit v1.2.3