* src/plugins/AncestorChart2.py: Fix dimension error

svn: r8185
This commit is contained in:
Brian Matherly 2007-02-20 03:55:46 +00:00
parent d366830e7c
commit 4d36705cac
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2007-02-19 Brian Matherly <brian@gramps-project.org>
* src/plugins/AncestorChart2.py: Fix dimension error
2007-02-18 Brian Matherly <brian@gramps-project.org>
* src/plugins/AncestorChart2.py: Use a dict instead of an array to use less
memory.

View File

@ -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 = {}