More int() around float arguments.

This commit is contained in:
Jack Jansen 2003-02-12 15:39:16 +00:00
parent c0452da1b8
commit a359a3d0ac
1 changed files with 1 additions and 1 deletions

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)