fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21668 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6f169b4373
commit
5931c2a82a
1 changed files with 3 additions and 1 deletions
|
@ -49,10 +49,10 @@ int viewport_get_nb_lines(struct viewport *vp)
|
|||
|
||||
static bool showing_bars(enum screen_type screen)
|
||||
{
|
||||
bool ignore = statusbar_enabled & VP_SB_IGNORE_SETTING(screen);
|
||||
if (statusbar_enabled & VP_SB_ONSCREEN(screen))
|
||||
{
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
bool ignore = statusbar_enabled & VP_SB_IGNORE_SETTING(screen);
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
if (screen == SCREEN_REMOTE)
|
||||
return global_settings.remote_statusbar || ignore;
|
||||
|
@ -67,7 +67,9 @@ static bool showing_bars(enum screen_type screen)
|
|||
|
||||
void viewport_set_defaults(struct viewport *vp, enum screen_type screen)
|
||||
{
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
bool bar_at_top = true;
|
||||
#endif
|
||||
vp->x = 0;
|
||||
vp->width = screens[screen].lcdwidth;
|
||||
|
||||
|
|
Loading…
Reference in a new issue