From 84ba14fa294f43b5dc75f899533d0596031aabd6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 24 Jan 2012 21:33:09 +0100 Subject: directory: replace songvec with doubly linked list --- src/directory_save.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/directory_save.c') diff --git a/src/directory_save.c b/src/directory_save.c index 087fab4c7..8d20a99f9 100644 --- a/src/directory_save.c +++ b/src/directory_save.c @@ -65,7 +65,9 @@ directory_save(FILE *fp, const struct directory *directory) return; } - songvec_save(fp, &directory->songs); + struct song *song; + directory_for_each_song(song, directory) + song_save(fp, song); playlist_vector_save(fp, &directory->playlists); -- cgit v1.2.3