summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plist.c2
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;
}