summaryrefslogtreecommitdiffstats
path: root/apps/root_menu.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-01-07 10:57:51 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-01-07 10:57:51 +0000
commita68e5d835f7ea64ff4eb073ee8b38d2d41038693 (patch)
tree7fa625cdc73a0bb78eb0c54bceb670938facbe49 /apps/root_menu.c
parenta36cdf5b37994a301d4fdeab123ee1569a34cf46 (diff)
downloadrockbox-a68e5d835f7ea64ff4eb073ee8b38d2d41038693.tar.gz
rockbox-a68e5d835f7ea64ff4eb073ee8b38d2d41038693.tar.bz2
rockbox-a68e5d835f7ea64ff4eb073ee8b38d2d41038693.zip
remove some useless/unused stuff from gwps.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19705 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 3b0907f00a..418ea01cff 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.current_track_path[0] != '\0')
+ wps_state.id3)
{
- strcpy(folder, wps_state.current_track_path);
+ strcpy(folder, wps_state.id3->path);
}
#ifdef HAVE_HOTSWAP /* quick hack to stop crashing if you try entering
the browser from the menu when you were in the card