summaryrefslogtreecommitdiffstats
path: root/apps/gui/textarea.c
diff options
context:
space:
mode:
authorKevin Ferrare <kevin@rockbox.org>2005-11-09 01:17:57 +0000
committerKevin Ferrare <kevin@rockbox.org>2005-11-09 01:17:57 +0000
commitf7c97522a874cf8136b8e5e014b1a7abb47bc7fc (patch)
treea026afc66a257c065b9308e2436158e76a6b9212 /apps/gui/textarea.c
parent0b00108c3eab73420c5b03cbe603b865276e13e8 (diff)
downloadrockbox-f7c97522a874cf8136b8e5e014b1a7abb47bc7fc.tar.gz
rockbox-f7c97522a874cf8136b8e5e014b1a7abb47bc7fc.tar.bz2
rockbox-f7c97522a874cf8136b8e5e014b1a7abb47bc7fc.zip
Fixed the icon for unknown file types on the archos Player, and the bug when removing the last file on the screen in filetree, added some code for playlists integration with multi-screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7800 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/textarea.c')
-rw-r--r--apps/gui/textarea.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/gui/textarea.c b/apps/gui/textarea.c
index c49602611f..d8e730fdc2 100644
--- a/apps/gui/textarea.c
+++ b/apps/gui/textarea.c
@@ -24,10 +24,7 @@ void gui_textarea_clear(struct screen * display)
#ifdef HAVE_LCD_BITMAP
int y_start = gui_textarea_get_ystart(display);
int y_end = gui_textarea_get_yend(display);
-
- display->set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID);
- display->fillrect(0, y_start, display->width, y_end - y_start);
- display->set_drawmode(DRMODE_SOLID);
+ screen_clear_area(display, 0, y_start, display->width, y_end - y_start);
display->stop_scroll();
screen_set_ymargin(display, y_start);
#else