From bd16e2fa9491b581df4454bcc6514ef12e06adf6 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 4 May 2002 12:27:18 +0000 Subject: Use the defines, we can't assume a particular LCD or keypad. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@424 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/tree.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'uisimulator/tree.c') diff --git a/uisimulator/tree.c b/uisimulator/tree.c index ff040e2ddf..b6342c67f5 100644 --- a/uisimulator/tree.c +++ b/uisimulator/tree.c @@ -46,6 +46,7 @@ bool dirbrowse(char *root) if(!dir) return TRUE; /* failure */ +#ifdef HAVE_LCD_BITMAP lcd_clearrect(0, 0, LCD_WIDTH, LCD_HEIGHT); lcd_puts(0,0, "[Browse]", 0); @@ -97,6 +98,7 @@ bool dirbrowse(char *root) break; } } +#endif return FALSE; } -- cgit v1.2.3