Commit edac498d authored by treblid's avatar treblid Committed by Max Kellermann

directory: fix reverse order of child directories

Directories are loaded in reverse order when MPD starts. Only fixed when doing a rescan.
parent d7d9dbd2
......@@ -111,7 +111,7 @@ directory_new_child(struct directory *parent, const char *name_utf8)
struct directory *directory = directory_new(path_utf8, parent);
g_free(allocated);
list_add(&directory->siblings, &parent->children);
list_add_tail(&directory->siblings, &parent->children);
return directory;
}
......
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