From 586cfa3a91c1f66a08d32fe0222ca3f2072b4b5c Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 24 May 2006 19:05:29 +0000 Subject: Move backdrop handling out of the (potential) middle of an if-else. Right now we don't have a target with both colour display and hotswap, but we probably will (when getting USB OTG to work on H300). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9983 a1c6a512-1295-4272-9138-f99709370657 --- apps/tree.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps') diff --git a/apps/tree.c b/apps/tree.c index 8eaff87fd8..05961db66c 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -887,13 +887,13 @@ static bool dirbrowse(void) if (gui_wps_show() == SYS_USB_CONNECTED) reload_dir = true; -#ifdef HAVE_LCD_COLOR - show_main_backdrop(); -#endif #ifdef HAVE_HOTSWAP else if (!id3db) /* Try reload to catch 'no longer valid' case. */ reload_dir = true; +#endif +#ifdef HAVE_LCD_COLOR + show_main_backdrop(); #endif id3db = check_changed_id3mode(id3db); restore = true; -- cgit v1.2.3