forked from len0rd/rockbox
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:
parent
d0ac045f44
commit
10fcb6b183
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ inline bool sb_skin_get_state(enum screen_type screen)
|
||||||
case STATUSBAR_TOP:
|
case STATUSBAR_TOP:
|
||||||
case STATUSBAR_BOTTOM:
|
case STATUSBAR_BOTTOM:
|
||||||
case STATUSBAR_OFF:
|
case STATUSBAR_OFF:
|
||||||
return (VP_SB_ONSCREEN(screen));
|
return (skinbars&VP_SB_ONSCREEN(screen));
|
||||||
}
|
}
|
||||||
return false; /* Should never actually get here */
|
return false; /* Should never actually get here */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue