More int() around float arguments.

This commit is contained in:
Jack Jansen 2003-02-12 15:39:16 +00:00
parent c0452da1b8
commit a359a3d0ac

View file

@ -91,7 +91,7 @@ def truncString(s, maxwid):
def drawTextCell(text, cellRect, ascent, theList):
l, t, r, b = cellRect
cellwidth = r - l
Qd.MoveTo(l + 2, t + ascent)
Qd.MoveTo(int(l + 2), int(t + ascent))
condense, text = truncString(text, cellwidth - 3)
if condense:
Qd.TextFace(QuickDraw.condense)