summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-02-10 04:53:04 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-02-10 04:53:04 +0000
commitf8aa88ba500e80ff9ec7614c083a215c0725e4d0 (patch)
tree0202796430664c0554adf220805f5f1c3b5342a0
parentfd2fdc2d75fc41c8ca8c2913d0a5886eb8d81f9c (diff)
downloadrockbox-f8aa88ba500e80ff9ec7614c083a215c0725e4d0.tar.gz
rockbox-f8aa88ba500e80ff9ec7614c083a215c0725e4d0.tar.bz2
rockbox-f8aa88ba500e80ff9ec7614c083a215c0725e4d0.zip
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
-rw-r--r--apps/gui/statusbar-skinned.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/gui/statusbar-skinned.c b/apps/gui/statusbar-skinned.c
index 37052c0b01..9d447f62db 100644
--- a/apps/gui/statusbar-skinned.c
+++ b/apps/gui/statusbar-skinned.c
@@ -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;
+ 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 = '|';
}