* src/plugins/AncestorChart2.py: Fix index error
svn: r8239
This commit is contained in:
parent
4b510b098c
commit
7ee2ff3f5c
@ -1,3 +1,6 @@
|
|||||||
|
2007-02-25 Brian Matherly <brian@gramps-project.org>
|
||||||
|
* src/plugins/AncestorChart2.py: Fix index error
|
||||||
|
|
||||||
2007-02-25 Brian Matherly <brian@gramps-project.org>
|
2007-02-25 Brian Matherly <brian@gramps-project.org>
|
||||||
* src/BaseDoc.py:
|
* src/BaseDoc.py:
|
||||||
* src/docgen/PSDrawDoc.py:
|
* src/docgen/PSDrawDoc.py:
|
||||||
|
@ -258,10 +258,10 @@ class AncestorChart(Report):
|
|||||||
else:
|
else:
|
||||||
starty = 0
|
starty = 0
|
||||||
coly = 0
|
coly = 0
|
||||||
while starty < maxy-1:
|
while starty < maxy:
|
||||||
startx = 0
|
startx = 0
|
||||||
colx = 0
|
colx = 0
|
||||||
while startx < maxx-1:
|
while startx < maxx:
|
||||||
stopx = min(maxx,startx+self.generations_per_page)
|
stopx = min(maxx,startx+self.generations_per_page)
|
||||||
stopy = min(maxy,starty+maxh)
|
stopy = min(maxy,starty+maxh)
|
||||||
self.print_page(startx,stopx,starty,stopy,colx,coly)
|
self.print_page(startx,stopx,starty,stopy,colx,coly)
|
||||||
|
Loading…
Reference in New Issue
Block a user