summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-02-10 04:19:50 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-02-10 04:19:50 +0000
commitfd2fdc2d75fc41c8ca8c2913d0a5886eb8d81f9c (patch)
tree4f982a42c61fe797d543e23f2f38ec42e2cb59a7
parent91be725c79393e2e5af0e19a33134076f22019d7 (diff)
downloadrockbox-fd2fdc2d75fc41c8ca8c2913d0a5886eb8d81f9c.tar.gz
rockbox-fd2fdc2d75fc41c8ca8c2913d0a5886eb8d81f9c.tar.bz2
rockbox-fd2fdc2d75fc41c8ca8c2913d0a5886eb8d81f9c.zip
Fix FS#10983 - r24568 was just moronic. Sorry
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24578 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/viewport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/viewport.c b/apps/gui/viewport.c
index 08cb9601e0..eaee2cc8a5 100644
--- a/apps/gui/viewport.c
+++ b/apps/gui/viewport.c
@@ -112,7 +112,7 @@ static void toggle_theme(enum screen_type screen, bool force)
/* remove the left overs from the previous screen.
* could cause a tiny flicker. Redo your screen code if that happens */
#if LCD_DEPTH > 1 || defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1
- screens[i].backdrop_show(sb_get_backdrop(i));
+ screens[screen].backdrop_show(sb_get_backdrop(screen));
#endif
if (!was_enabled[screen] || force)
{