diff options
author | Jonathan Beck | 2009-10-11 20:20:23 +0200 |
---|---|---|
committer | Jonathan Beck | 2009-10-11 20:20:23 +0200 |
commit | 3cff5a16030168cdc45102a770b54b973170cd7f (patch) | |
tree | 32d5d11dd6674a597912cd9d78a14713ef01c01d | |
parent | 393f1b4b2825b8cf6e67d22df8c255633696435f (diff) | |
download | libplist-3cff5a16030168cdc45102a770b54b973170cd7f.tar.gz libplist-3cff5a16030168cdc45102a770b54b973170cd7f.tar.bz2 |
Fix dict length.
-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 98ca34f..78ac07c 100644 --- a/src/plist.c +++ b/src/plist.c @@ -271,7 +271,7 @@ uint32_t plist_dict_get_size(plist_t node) { uint32_t ret = 0; if (node && PLIST_DICT == plist_get_node_type(node)) { - ret = g_node_n_children(node); + ret = g_node_n_children(node) / 2; } return ret; } |