summaryrefslogtreecommitdiff
path: root/uisimulator/tree.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-05-04 12:27:18 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-05-04 12:27:18 +0000
commitbd16e2fa9491b581df4454bcc6514ef12e06adf6 (patch)
tree856186ac7eaff3df1dbb6f3b08c0f441e1a01a0d /uisimulator/tree.c
parentf7a6c45c4397530f0f00f28290700cebbd99f842 (diff)
downloadrockbox-bd16e2fa9491b581df4454bcc6514ef12e06adf6.tar.gz
rockbox-bd16e2fa9491b581df4454bcc6514ef12e06adf6.zip
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
Diffstat (limited to 'uisimulator/tree.c')
-rw-r--r--uisimulator/tree.c2
1 files changed, 2 insertions, 0 deletions
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)
46 if(!dir) 46 if(!dir)
47 return TRUE; /* failure */ 47 return TRUE; /* failure */
48 48
49#ifdef HAVE_LCD_BITMAP
49 lcd_clearrect(0, 0, LCD_WIDTH, LCD_HEIGHT); 50 lcd_clearrect(0, 0, LCD_WIDTH, LCD_HEIGHT);
50 51
51 lcd_puts(0,0, "[Browse]", 0); 52 lcd_puts(0,0, "[Browse]", 0);
@@ -97,6 +98,7 @@ bool dirbrowse(char *root)
97 break; 98 break;
98 } 99 }
99 } 100 }
101#endif
100 102
101 return FALSE; 103 return FALSE;
102} 104}