fix adding selected directory to playlist

This commit is contained in:
Andrzej Rybczak
2009-01-19 14:25:45 +01:00
parent 582725f2f9
commit 3adf0a396b

View File

@@ -2906,10 +2906,7 @@ int main(int argc, char *argv[])
{ {
case itDirectory: case itDirectory:
{ {
if (browsed_dir != "/") Mpd->GetDirectoryRecursive(item.name, result);
Mpd->GetDirectoryRecursive(browsed_dir + "/" + item.name, result);
else
Mpd->GetDirectoryRecursive(item.name, result);
break; break;
} }
case itSong: case itSong: