summaryrefslogtreecommitdiffstats
path: root/apps/gui/statusbar-skinned.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-01-31 03:08:44 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-01-31 03:08:44 +0000
commitc0e2d9fe1bb87730d9a8a7cac3cb8f6cd39ce630 (patch)
tree6102565730e288f43f2b113864a8fe989ddbbd14 /apps/gui/statusbar-skinned.c
parent791e13e733268110a9feb35b19dd60cc329e07f4 (diff)
downloadrockbox-c0e2d9fe1bb87730d9a8a7cac3cb8f6cd39ce630.tar.gz
rockbox-c0e2d9fe1bb87730d9a8a7cac3cb8f6cd39ce630.tar.bz2
rockbox-c0e2d9fe1bb87730d9a8a7cac3cb8f6cd39ce630.zip
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
Diffstat (limited to 'apps/gui/statusbar-skinned.c')
-rw-r--r--apps/gui/statusbar-skinned.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/statusbar-skinned.c b/apps/gui/statusbar-skinned.c
index 6f556c3009..37052c0b01 100644
--- a/apps/gui/statusbar-skinned.c
+++ b/apps/gui/statusbar-skinned.c
@@ -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);
}