summaryrefslogtreecommitdiffstats
path: root/apps/gui/statusbar-skinned.c
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2011-01-15 11:35:12 +0000
committerTeruaki Kawashima <teru@rockbox.org>2011-01-15 11:35:12 +0000
commit27bcc8a8fdbc1ace7a3dda43e8d97ec5ac715578 (patch)
tree88b9034a8636cfa397db8f04afc9812c612171cd /apps/gui/statusbar-skinned.c
parentf74806e8bc9329baa5faf29cbfeb29eda93c7c32 (diff)
downloadrockbox-27bcc8a8fdbc1ace7a3dda43e8d97ec5ac715578.tar.gz
rockbox-27bcc8a8fdbc1ace7a3dda43e8d97ec5ac715578.tar.bz2
rockbox-27bcc8a8fdbc1ace7a3dda43e8d97ec5ac715578.zip
fix FS#11835: %Lt tag doesn't work on targets with more than 1 screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29058 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/statusbar-skinned.c')
-rw-r--r--apps/gui/statusbar-skinned.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/gui/statusbar-skinned.c b/apps/gui/statusbar-skinned.c
index ad89f7a6cb..29e8d1a92a 100644
--- a/apps/gui/statusbar-skinned.c
+++ b/apps/gui/statusbar-skinned.c
@@ -76,9 +76,7 @@ enum themable_icons sb_get_icon(enum screen_type screen)
int sb_preproccess(enum screen_type screen, struct wps_data *data)
{
(void)data;
- int i;
- FOR_NB_SCREENS(i)
- sbs_has_title[i] = false;
+ sbs_has_title[screen] = false;
viewportmanager_theme_enable(screen, false, NULL);
return 1;
}