diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index b1860ff08..129ac65d3 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2007-02-25 Brian Matherly + * src/plugins/AncestorChart2.py: Fix index error + 2007-02-24 Brian Matherly * src/docgen/SvgDrawDoc.py.py: Fix XML error in draw_text. diff --git a/gramps2/src/plugins/AncestorChart2.py b/gramps2/src/plugins/AncestorChart2.py index 314118c05..6e6d16038 100644 --- a/gramps2/src/plugins/AncestorChart2.py +++ b/gramps2/src/plugins/AncestorChart2.py @@ -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)