summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2005-01-20 14:00:20 +0000
committerBjörn Stenberg <bjorn@haxx.se>2005-01-20 14:00:20 +0000
commitbe7452d31eee7d2cc78c371d0dca885167922e44 (patch)
tree3d134e25e2329984f0a802a1128f715dce876266
parente299f934f72732d2cd925597de33381080bb8880 (diff)
downloadrockbox-be7452d31eee7d2cc78c371d0dca885167922e44.tar.gz
rockbox-be7452d31eee7d2cc78c371d0dca885167922e44.tar.bz2
rockbox-be7452d31eee7d2cc78c371d0dca885167922e44.zip
Fixed crash when changing between id3 and file mode in wps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5615 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 61dd12c006..d0f4ab9d68 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -1099,6 +1099,7 @@ static bool dirbrowse(void)
#ifdef HAVE_LCD_BITMAP
tree_max_on_screen = recalc_screen_height();
#endif
+ id3db = check_changed_id3mode(id3db);
restore = true;
start_wps=false;
}