Commit dd26fa67 authored by Max Kellermann's avatar Max Kellermann

playlist_vector: add new playlist to the end of the list

Avoid reversing the order after every update.
parent 89f5e604
...@@ -74,7 +74,7 @@ playlist_vector_add(struct list_head *pv, ...@@ -74,7 +74,7 @@ playlist_vector_add(struct list_head *pv,
const char *name, time_t mtime) const char *name, time_t mtime)
{ {
struct playlist_metadata *pm = playlist_metadata_new(name, mtime); struct playlist_metadata *pm = playlist_metadata_new(name, mtime);
list_add(&pm->siblings, pv); list_add_tail(&pm->siblings, pv);
} }
bool bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment