diff --git a/ChangeLog b/ChangeLog index 84ccd223c..998cce2d7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2007-02-25 Brian Matherly + * src/plugins/AncestorChart2.py: Fix index error + 2007-02-25 Brian Matherly * src/BaseDoc.py: * src/docgen/PSDrawDoc.py: diff --git a/src/plugins/AncestorChart2.py b/src/plugins/AncestorChart2.py index 760c6b61e..2d7caf9a3 100644 --- a/src/plugins/AncestorChart2.py +++ b/src/plugins/AncestorChart2.py @@ -258,10 +258,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)