From 4d36705cace4f92bdaed4e4a707f3c9202d50b86 Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Tue, 20 Feb 2007 03:55:46 +0000 Subject: [PATCH] * src/plugins/AncestorChart2.py: Fix dimension error svn: r8185 --- gramps2/ChangeLog | 3 +++ gramps2/src/plugins/AncestorChart2.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 61ee30122..50c69a791 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2007-02-19 Brian Matherly + * src/plugins/AncestorChart2.py: Fix dimension error + 2007-02-18 Brian Matherly * src/plugins/AncestorChart2.py: Use a dict instead of an array to use less memory. diff --git a/gramps2/src/plugins/AncestorChart2.py b/gramps2/src/plugins/AncestorChart2.py index c612c8688..314118c05 100644 --- a/gramps2/src/plugins/AncestorChart2.py +++ b/gramps2/src/plugins/AncestorChart2.py @@ -130,7 +130,7 @@ class GenChart: self.array[y][x] = value def dimensions(self): - return (max(self.array.keys()),self.max_x+1) + return (max(self.array.keys())+1,self.max_x+1) def compress(self): new_map = {}