From 2bb58a82d98e8f3988a1ba71e9f31a2146f70d26 Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Sun, 25 Feb 2007 22:54:25 +0000 Subject: [PATCH] * src/plugins/AncestorChart2.py: Fix index error svn: r8238 --- gramps2/ChangeLog | 3 +++ gramps2/src/plugins/AncestorChart2.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) 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)