From dd26fa67f2c7189636e867710d3c94f93296557f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 13 Feb 2012 19:26:00 +0100 Subject: playlist_vector: add new playlist to the end of the list Avoid reversing the order after every update. --- src/playlist_vector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/playlist_vector.c b/src/playlist_vector.c index be418f8af..adf5b2a22 100644 --- a/src/playlist_vector.c +++ b/src/playlist_vector.c @@ -74,7 +74,7 @@ playlist_vector_add(struct list_head *pv, const char *name, time_t mtime) { struct playlist_metadata *pm = playlist_metadata_new(name, mtime); - list_add(&pm->siblings, pv); + list_add_tail(&pm->siblings, pv); } bool -- cgit v1.2.3