aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/directory.c')
-rw-r--r--src/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/directory.c b/src/directory.c
index 12d61a81e..662b8907f 100644
--- a/src/directory.c
+++ b/src/directory.c
@@ -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;
}