fix segfault on remote targets where no sbs is loaded for the remote

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23580 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2009-11-09 06:17:56 +00:00
parent d0ac045f44
commit 10fcb6b183

View file

@ -114,7 +114,7 @@ inline bool sb_skin_get_state(enum screen_type screen)
case STATUSBAR_TOP:
case STATUSBAR_BOTTOM:
case STATUSBAR_OFF:
return (VP_SB_ONSCREEN(screen));
return (skinbars&VP_SB_ONSCREEN(screen));
}
return false; /* Should never actually get here */
}