summaryrefslogtreecommitdiffstats
path: root/apps/plugins/properties.c
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2006-11-30 22:46:01 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2006-11-30 22:46:01 +0000
commit7c537225350ef490aed9a9f41e01d7640ee260d8 (patch)
treec51f8c3091c8f2a0c89096100ed2d39ed99737a8 /apps/plugins/properties.c
parent0f02e4f7a0a202a9efb26833f156a72a3541b2f8 (diff)
downloadrockbox-7c537225350ef490aed9a9f41e01d7640ee260d8.tar.gz
rockbox-7c537225350ef490aed9a9f41e01d7640ee260d8.tar.bz2
rockbox-7c537225350ef490aed9a9f41e01d7640ee260d8.zip
Ooops... forgot about those charcells
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11631 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/properties.c')
-rw-r--r--apps/plugins/properties.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/properties.c b/apps/plugins/properties.c
index 458ee22cd6..cdfb264e27 100644
--- a/apps/plugins/properties.c
+++ b/apps/plugins/properties.c
@@ -173,8 +173,9 @@ static bool _dir_properties(DPS* dps)
rb->snprintf(dps->tstr, 64, "Size: %s",
filesize2string(dps->bc, dps->tstr2, 64));
rb->lcd_puts(0,5,dps->tstr);
+#ifdef HAVE_LCD_BITMAP
rb->lcd_update();
-
+#endif
/* recursion */
result = _dir_properties(dps);
if(rb->get_action(CONTEXT_TREE,TIMEOUT_NOBLOCK))
@@ -303,7 +304,9 @@ enum plugin_status plugin_start(struct plugin_api* api, void* file)
rb->lcd_clear_display();
rb->lcd_puts(0,0,"File/Dir not found:");
rb->lcd_puts(0,1,(char*)file);
+#ifdef HAVE_LCD_BITMAP
rb->lcd_update();
+#endif
rb->action_userabort(TIMEOUT_BLOCK);
return PLUGIN_OK;
}