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

svn: r8238
This commit is contained in:
Brian Matherly 2007-02-25 22:54:25 +00:00
parent c2a7b06358
commit 2bb58a82d9
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
2007-02-25 Brian Matherly <brian@gramps-project.org>
* src/plugins/AncestorChart2.py: Fix index error
2007-02-24 Brian Matherly <brian@gramps-project.org>
* src/docgen/SvgDrawDoc.py.py: Fix XML error in draw_text.

View File

@ -259,10 +259,10 @@ class AncestorChart(Report):
else:
starty = 0
coly = 0
while starty < maxy-1:
while starty < maxy:
startx = 0
colx = 0
while startx < maxx-1:
while startx < maxx:
stopx = min(maxx,startx+self.generations_per_page)
stopy = min(maxy,starty+maxh)
self.print_page(startx,stopx,starty,stopy,colx,coly)