forked from len0rd/rockbox
OK, this is hopefully the last sbs related fix. This one will fix the backdrop going garbage, and add a missing else which kugel spotted
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24579 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
fd2fdc2d75
commit
f8aa88ba50
1 changed files with 3 additions and 2 deletions
|
@ -160,12 +160,13 @@ void sb_create_from_settings(enum screen_type screen)
|
|||
#if NB_SCREENS > 1
|
||||
if (screen == SCREEN_REMOTE)
|
||||
ptr2 = global_settings.remote_ui_vp_config;
|
||||
else
|
||||
#endif
|
||||
ptr2 = global_settings.ui_vp_config;
|
||||
|
||||
if (ptr2[0] && ptr2[0] != '-') /* from ui viewport setting */
|
||||
{
|
||||
len = snprintf(ptr, remaining, "%%ax%%Vi|%s\n", ptr2);
|
||||
len = snprintf(ptr, remaining, "%%ax%%Vi|%s|\n", ptr2);
|
||||
while ((ptr2 = strchr(ptr, ',')))
|
||||
*ptr2 = '|';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue