diff options
| author | 2009-10-10 22:33:31 +0200 | |
|---|---|---|
| committer | 2009-10-10 22:33:31 +0200 | |
| commit | 97f7caeecdfe233c30cec02ac1c4b5634a4f2bce (patch) | |
| tree | c0ac7fcc65ebc1fae512a964885fe2813ac82c8b /src | |
| parent | bc08d5f530b3b4a73b31464ee498d610ecb2ea13 (diff) | |
| download | libplist-97f7caeecdfe233c30cec02ac1c4b5634a4f2bce.tar.gz libplist-97f7caeecdfe233c30cec02ac1c4b5634a4f2bce.tar.bz2 | |
Fix dict iteration.
Diffstat (limited to 'src')
| -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_ | |||
| 278 | } | 278 | } |
| 279 | 279 | ||
| 280 | if (val) { | 280 | if (val) { |
| 281 | val = (plist_t) g_node_nth_child(node, 2 * (*iter) + 1); | 281 | *val = (plist_t) g_node_nth_child(node, 2 * (*iter) + 1); |
| 282 | } | 282 | } |
| 283 | 283 | ||
| 284 | *iter += 2; | 284 | *iter += 2; |
