summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-07-19 21:46:37 +0000
committerJens Arnold <amiconn@rockbox.org>2004-07-19 21:46:37 +0000
commit638dd6786a75e5d3e87a9e04f80138d80665f230 (patch)
treeef376ff7e32e88913f833344d33b9810a023187e /apps/tree.c
parent5846aab6542104003bf03c29851bc3c12bc8da7a (diff)
downloadrockbox-638dd6786a75e5d3e87a9e04f80138d80665f230.tar.gz
rockbox-638dd6786a75e5d3e87a9e04f80138d80665f230.zip
Const'ed the logo, the bitmaps and the credits (optimization for running from ROM)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4896 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 988e6b3d93..754e84f508 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -163,8 +163,6 @@ void tree_get_filetypes(struct filetype** types, int* count)
163#define SCROLLBAR_Y lcd_getymargin() 163#define SCROLLBAR_Y lcd_getymargin()
164#define SCROLLBAR_WIDTH 6 164#define SCROLLBAR_WIDTH 6
165 165
166extern unsigned char bitmap_icons_6x8[LastIcon][6];
167
168#else /* HAVE_LCD_BITMAP */ 166#else /* HAVE_LCD_BITMAP */
169 167
170#define TREE_MAX_ON_SCREEN 2 168#define TREE_MAX_ON_SCREEN 2
@@ -461,7 +459,7 @@ static int showdir(char *path, int start, int *dirfilter)
461 bool dir_buffer_full; 459 bool dir_buffer_full;
462 460
463#ifdef HAVE_LCD_BITMAP 461#ifdef HAVE_LCD_BITMAP
464 char* icon; 462 const char* icon;
465 int line_height; 463 int line_height;
466 int fw, fh; 464 int fw, fh;
467 lcd_setfont(FONT_UI); 465 lcd_setfont(FONT_UI);