forked from len0rd/rockbox
Fix crash when selecting statusbar: custom in the menus without having a valid sbs loaded.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23635 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a1bc3401f1
commit
f80a6ddeae
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ void sb_skin_set_state(int state, enum screen_type screen)
|
|||
{
|
||||
sb_skin[screen].sync_data->do_full_update = true;
|
||||
int skinbars = sb_skin[screen].sync_data->statusbars;
|
||||
if (state)
|
||||
if (state && loaded_ok[screen])
|
||||
{
|
||||
skinbars |= VP_SB_ONSCREEN(screen);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue