summaryrefslogtreecommitdiffstats
path: root/apps/gui/textarea.c
diff options
context:
space:
mode:
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