From 331d35ccefb77324d0c0878a96c805d9912922a3 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 30 May 2007 14:43:47 +0000 Subject: [PATCH] there! --- src/tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tree.c b/src/tree.c index ad03aa7..6760fbd 100644 --- a/src/tree.c +++ b/src/tree.c @@ -58,7 +58,7 @@ xmlNodePtr tree_get_node(const gchar *path, const gchar *def) if (!c) { gint i; - c = xmlNewTextChild(n, NULL, *it, *next ? NULL : attrs[0]); + c = xmlNewTextChild(n, NULL, attrs[0], *next ? NULL : def); for (i = 1; attrs[i]; ++i) { gchar **eq = g_strsplit(attrs[i], "=", 2); -- 2.34.1