From: Dana Jansens Date: Wed, 30 May 2007 14:43:47 +0000 (+0000) Subject: there! X-Git-Tag: release-2.0.2~138 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=331d35ccefb77324d0c0878a96c805d9912922a3;p=dana%2Fobconf.git there! --- 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);