From 97f7caeecdfe233c30cec02ac1c4b5634a4f2bce Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Sat, 10 Oct 2009 22:33:31 +0200 Subject: Fix dict iteration. --- src/plist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plist.c') diff --git a/src/plist.c b/src/plist.c index a9a6173..116c7ec 100644 --- a/src/plist.c +++ b/src/plist.c @@ -278,7 +278,7 @@ void plist_dict_next_item(plist_t node, plist_dict_iter iter, char **key, plist_ } if (val) { - val = (plist_t) g_node_nth_child(node, 2 * (*iter) + 1); + *val = (plist_t) g_node_nth_child(node, 2 * (*iter) + 1); } *iter += 2; -- cgit v1.1-32-gdbae