From 7372d12b5aa3bd09b20ad9e8f5210d950b001967 Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Fri, 16 Oct 2009 23:33:39 +0200 Subject: Fix key valuation in dictionary loop. --- src/Dictionary.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Dictionary.cpp b/src/Dictionary.cpp index 15df0b4..79f0afc 100644 --- a/src/Dictionary.cpp +++ b/src/Dictionary.cpp @@ -80,7 +80,7 @@ Dictionary::Dictionary(plist_t node) : Structure() subnode = NULL; free(key); key = NULL; - plist_dict_next_item(_node, it, NULL, &subnode); + plist_dict_next_item(_node, it, &key, &subnode); } free(it); } -- cgit v1.1-32-gdbae