Commit 3cff5a16 authored by Jonathan Beck's avatar Jonathan Beck

Fix dict length.

parent 393f1b4b
...@@ -271,7 +271,7 @@ uint32_t plist_dict_get_size(plist_t node) ...@@ -271,7 +271,7 @@ uint32_t plist_dict_get_size(plist_t node)
{ {
uint32_t ret = 0; uint32_t ret = 0;
if (node && PLIST_DICT == plist_get_node_type(node)) { if (node && PLIST_DICT == plist_get_node_type(node)) {
ret = g_node_n_children(node); ret = g_node_n_children(node) / 2;
} }
return ret; return ret;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment