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