From fd2fdc2d75fc41c8ca8c2913d0a5886eb8d81f9c Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 10 Feb 2010 04:19:50 +0000 Subject: [PATCH] Fix FS#10983 - r24568 was just moronic. Sorry git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24578 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/viewport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {