From 2088ce911766f384202acd02868ec1cea1a76315 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Fri, 20 Feb 2009 15:00:34 +0000 Subject: [PATCH] Fix Player status'bar' broken in r19894. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20062 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/viewport.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/gui/viewport.c b/apps/gui/viewport.c index dbf9cc4e73..48d80fb05b 100644 --- a/apps/gui/viewport.c +++ b/apps/gui/viewport.c @@ -50,8 +50,12 @@ int viewport_get_nb_lines(struct viewport *vp) static bool showing_bars(enum screen_type screen) { if (statusbar_enabled & VP_SB_ONSCREEN(screen)) +#ifdef HAVE_LCD_BITMAP return global_settings.statusbar || - (statusbar_enabled & VP_SB_IGNORE_SETTING(screen)); + (statusbar_enabled & VP_SB_IGNORE_SETTING(screen)); +#else + return true; +#endif return false; }