summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-08-29 15:22:14 +0000
committerThomas Martitz <kugel@rockbox.org>2009-08-29 15:22:14 +0000
commit1dec3e6772877164abbae713ab7fd992e4e37393 (patch)
tree73f1ea864907771a7f9574985f555a557ff0d354
parentcc1be6b76696d5f4fafe5a3164f6b13fc5086356 (diff)
downloadrockbox-1dec3e6772877164abbae713ab7fd992e4e37393.tar.gz
rockbox-1dec3e6772877164abbae713ab7fd992e4e37393.tar.bz2
rockbox-1dec3e6772877164abbae713ab7fd992e4e37393.zip
Move a line up into the existing FOR_NB_SCREENS loop and add a comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22535 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/screens.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/screens.c b/apps/screens.c
index 1e177db42d..537ec9e21f 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -216,9 +216,11 @@ void usb_screen(void)
#endif /* HAVE_LCD_BITMAP */
}
screens[i].update();
- }
- FOR_NB_SCREENS(i)
+
+ /* force statusbar by ignoring the setting */
usb_bars |= VP_SB_IGNORE_SETTING(i);
+ }
+
viewportmanager_set_statusbar(usb_bars);
#ifdef SIMULATOR