summaryrefslogtreecommitdiff
path: root/apps/plugins/text_viewer
diff options
context:
space:
mode:
authorYoshihisa Uchida <uchida@rockbox.org>2010-07-05 12:14:26 +0000
committerYoshihisa Uchida <uchida@rockbox.org>2010-07-05 12:14:26 +0000
commitd265bcf965c8b51911ed8ce8d664eb9629d8bfa0 (patch)
tree5a4bb8cb7f757cde8eb885523f88c2d3121e9883 /apps/plugins/text_viewer
parent30622e3c460e925a28cf8a9a792c60712d2248ef (diff)
text viewer: fixed StatusBar randomly appears (FS#11455).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27293 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/text_viewer')
-rw-r--r--apps/plugins/text_viewer/text_viewer.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/text_viewer/text_viewer.c b/apps/plugins/text_viewer/text_viewer.c
index ca5cf70d36..a01160f0a2 100644
--- a/apps/plugins/text_viewer/text_viewer.c
+++ b/apps/plugins/text_viewer/text_viewer.c
@@ -57,8 +57,10 @@ enum plugin_status plugin_start(const void* file)
}
while (!done) {
-
- rb->gui_syncstatusbar_draw(rb->statusbars, preferences->statusbar);
+#ifdef HAVE_LCD_BITMAP
+ if (rb->global_settings->statusbar != STATUSBAR_OFF && preferences->statusbar)
+ rb->gui_syncstatusbar_draw(rb->statusbars, true);
+#endif
if (display_update)
tv_draw();