summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-05-24 19:05:29 +0000
committerJens Arnold <amiconn@rockbox.org>2006-05-24 19:05:29 +0000
commit586cfa3a91c1f66a08d32fe0222ca3f2072b4b5c (patch)
tree21ce0535b65d03e44356ced03f6df9dbc2485efc /apps
parent35aae1ce9af1c57b5ce38dddb7ebe30af94636e7 (diff)
downloadrockbox-586cfa3a91c1f66a08d32fe0222ca3f2072b4b5c.tar.gz
rockbox-586cfa3a91c1f66a08d32fe0222ca3f2072b4b5c.tar.bz2
rockbox-586cfa3a91c1f66a08d32fe0222ca3f2072b4b5c.zip
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
Diffstat (limited to 'apps')
-rw-r--r--apps/tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 8eaff87fd8..05961db66c 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -887,14 +887,14 @@ 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;
start_wps=false;