Fix FS#10983 - r24568 was just moronic. Sorry

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24578 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2010-02-10 04:19:50 +00:00
parent 91be725c79
commit fd2fdc2d75

View file

@ -112,7 +112,7 @@ static void toggle_theme(enum screen_type screen, bool force)
/* remove the left overs from the previous screen. /* remove the left overs from the previous screen.
* could cause a tiny flicker. Redo your screen code if that happens */ * could cause a tiny flicker. Redo your screen code if that happens */
#if LCD_DEPTH > 1 || defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1 #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 #endif
if (!was_enabled[screen] || force) if (!was_enabled[screen] || force)
{ {