diff options
author | Jonathan Beck | 2009-10-10 22:33:31 +0200 |
---|---|---|
committer | Jonathan Beck | 2009-10-10 22:33:31 +0200 |
commit | 97f7caeecdfe233c30cec02ac1c4b5634a4f2bce (patch) | |
tree | c0ac7fcc65ebc1fae512a964885fe2813ac82c8b /src/plist.c | |
parent | bc08d5f530b3b4a73b31464ee498d610ecb2ea13 (diff) | |
download | libplist-97f7caeecdfe233c30cec02ac1c4b5634a4f2bce.tar.gz libplist-97f7caeecdfe233c30cec02ac1c4b5634a4f2bce.tar.bz2 |
Fix dict iteration.
Diffstat (limited to 'src/plist.c')
-rw-r--r-- | src/plist.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |