Fix of divison issue. There might be more of them.
svn: r20975
This commit is contained in:
parent
b380a6b04f
commit
71e5bb4c81
@ -403,7 +403,7 @@ class Canvas(Page):
|
||||
|
||||
#Calculate my (x) page
|
||||
#fix soon. should not use .level
|
||||
x_page = box.level[0] / colsperpage
|
||||
x_page = box.level[0] // colsperpage
|
||||
|
||||
self.__add_box_to_page(x_page, self.y_pages-1,
|
||||
x_page_offsets[x_page],
|
||||
|
Loading…
Reference in New Issue
Block a user