playlist_vector: add new playlist to the end of the list

Avoid reversing the order after every update.
This commit is contained in:
Max Kellermann 2012-02-13 19:26:00 +01:00
parent 89f5e60422
commit dd26fa67f2

View File

@ -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