summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-06-28 23:15:47 +0000
committerJens Arnold <amiconn@rockbox.org>2005-06-28 23:15:47 +0000
commit7e11acbce9b9a63c28ded055d02301175391e027 (patch)
treeea8d30e7281e8d720d6dc8ea51804e1749282697 /apps/tree.c
parentc2bf5dfe12978b44d5d890a37f256c8d9f510660 (diff)
downloadrockbox-7e11acbce9b9a63c28ded055d02301175391e027.tar.gz
rockbox-7e11acbce9b9a63c28ded055d02301175391e027.zip
Second part of graphics api rework. Bitmap drawing and text output converted; some code cleanup and more optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 66a163ab8e..6d25203eac 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -395,8 +395,7 @@ static int showdir(void)
395 offset = (line_height - 8) / 2; 395 offset = (line_height - 8) / 2;
396 lcd_bitmap(icon, 396 lcd_bitmap(icon,
397 CURSOR_X * 6 + CURSOR_WIDTH, 397 CURSOR_X * 6 + CURSOR_WIDTH,
398 MARGIN_Y+(i-start)*line_height + offset, 398 MARGIN_Y+(i-start)*line_height + offset, 6, 8);
399 6, 8, true);
400#else 399#else
401 if (icon < 0 ) 400 if (icon < 0 )
402 icon = Unknown; 401 icon = Unknown;