diff options
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/statusbar-skinned.c | 4 |
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) | |||
165 | 165 | ||
166 | if (ptr2[0] && ptr2[0] != '-') /* from ui viewport setting */ | 166 | if (ptr2[0] && ptr2[0] != '-') /* from ui viewport setting */ |
167 | { | 167 | { |
168 | len = snprintf(ptr, remaining, "%%Vi|%s\n", ptr2); | 168 | len = snprintf(ptr, remaining, "%%ax%%Vi|%s\n", ptr2); |
169 | while ((ptr2 = strchr(ptr, ','))) | 169 | while ((ptr2 = strchr(ptr, ','))) |
170 | *ptr2 = '|'; | 170 | *ptr2 = '|'; |
171 | } | 171 | } |
@@ -182,7 +182,7 @@ void sb_create_from_settings(enum screen_type screen) | |||
182 | default: | 182 | default: |
183 | height = screens[screen].lcdheight; | 183 | height = screens[screen].lcdheight; |
184 | } | 184 | } |
185 | len = snprintf(ptr, remaining, "%%Vi|0|%d|-|%d|1|-|-|\n", y, height); | 185 | len = snprintf(ptr, remaining, "%%ax%%Vi|0|%d|-|%d|1|-|-|\n", y, height); |
186 | } | 186 | } |
187 | sb_skin_data_load(screen, buf, false); | 187 | sb_skin_data_load(screen, buf, false); |
188 | } | 188 | } |