[dia] Fix endless loop in dictprop_load()



commit 1203a00efe2e3ca6dfb92c75f1abb075683497b1
Author: Hans Breuer <hans breuer org>
Date:   Mon Dec 14 22:44:26 2009 +0100

    Fix endless loop in dictprop_load()

 lib/prop_dict.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/prop_dict.c b/lib/prop_dict.c
index 5588e36..8e67be2 100644
--- a/lib/prop_dict.c
+++ b/lib/prop_dict.c
@@ -108,7 +108,7 @@ dictprop_load(DictProperty *prop, AttributeNode attr, DataNode data)
     } else {
       g_warning ("Dictionary key missing");
     }
-    data = data_next(data);
+    kv = data_next(kv);
   }
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]