Skip to content

Commit

Permalink
don't save the mythical "" playlist if it appears (no idea how it doe…
Browse files Browse the repository at this point in the history
…s /shrug)
  • Loading branch information
MinaciousGrace committed May 28, 2017
1 parent 27fcc2b commit 612d5ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Profile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1412,7 +1412,8 @@ XNode* Profile::SavePlaylistsCreateNode() const {
XNode* playlists = new XNode("Playlists");
auto& pls = SONGMAN->allplaylists;
FOREACHM(string, Playlist, pls, i)
playlists->AppendChild(i->second.CreateNode());
if(i->first != "")
playlists->AppendChild(i->second.CreateNode());
return playlists;
}

Expand Down

0 comments on commit 612d5ff

Please sign in to comment.