From d265bcf965c8b51911ed8ce8d664eb9629d8bfa0 Mon Sep 17 00:00:00 2001 From: Yoshihisa Uchida Date: Mon, 5 Jul 2010 12:14:26 +0000 Subject: text viewer: fixed StatusBar randomly appears (FS#11455). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27293 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/text_viewer/text_viewer.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'apps/plugins/text_viewer') 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(); -- cgit v1.2.3