forked from len0rd/rockbox
Fix RTL list handing when not loading a custom base skin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24401 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
791e13e733
commit
c0e2d9fe1b
1 changed files with 2 additions and 2 deletions
|
|
@ -165,7 +165,7 @@ void sb_create_from_settings(enum screen_type screen)
|
|||
|
||||
if (ptr2[0] && ptr2[0] != '-') /* from ui viewport setting */
|
||||
{
|
||||
len = snprintf(ptr, remaining, "%%Vi|%s\n", ptr2);
|
||||
len = snprintf(ptr, remaining, "%%ax%%Vi|%s\n", ptr2);
|
||||
while ((ptr2 = strchr(ptr, ',')))
|
||||
*ptr2 = '|';
|
||||
}
|
||||
|
|
@ -182,7 +182,7 @@ void sb_create_from_settings(enum screen_type screen)
|
|||
default:
|
||||
height = screens[screen].lcdheight;
|
||||
}
|
||||
len = snprintf(ptr, remaining, "%%Vi|0|%d|-|%d|1|-|-|\n", y, height);
|
||||
len = snprintf(ptr, remaining, "%%ax%%Vi|0|%d|-|%d|1|-|-|\n", y, height);
|
||||
}
|
||||
sb_skin_data_load(screen, buf, false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue