Fix Player status'bar' broken in r19894.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20062 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2009-02-20 15:00:34 +00:00
parent ec67912b63
commit 2088ce9117

View file

@ -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;
}