From 8dca17c60b4aa4e8230ae609c9709206b9dd5e4c Mon Sep 17 00:00:00 2001 From: jdgordon 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 08cb9601e..eaee2cc8a 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) { -- 2.11.4.GIT