summaryrefslogtreecommitdiffstats
path: root/apps/root_menu.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-01-09 04:46:28 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-01-09 04:46:28 +0000
commit04dcf117a1008929af1c64e3be4e7fe9b94d2a9b (patch)
treec4a4a8345477a02bd6eaf59fda16c383c66d7593 /apps/root_menu.c
parent222080e0ee62638c044d16d64e03e62ee3418949 (diff)
downloadrockbox-04dcf117a1008929af1c64e3be4e7fe9b94d2a9b.tar.gz
rockbox-04dcf117a1008929af1c64e3be4e7fe9b94d2a9b.tar.bz2
rockbox-04dcf117a1008929af1c64e3be4e7fe9b94d2a9b.zip
revert part of r19705 which caused fS#9773
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19732 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/root_menu.c')
-rw-r--r--apps/root_menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c
index 418ea01cff..07bd4939e0 100644
--- a/apps/root_menu.c
+++ b/apps/root_menu.c
@@ -96,9 +96,9 @@ static int browser(void* param)
filter = global_settings.dirfilter;
if (global_settings.browse_current &&
last_screen == GO_TO_WPS &&
- wps_state.id3)
+ wps_state.current_track_path[0])
{
- strcpy(folder, wps_state.id3->path);
+ strcpy(folder, wps_state.current_track_path);
}
#ifdef HAVE_HOTSWAP /* quick hack to stop crashing if you try entering
the browser from the menu when you were in the card