From a359a3d0ac42cb9720af41c1b99fce9422eb0ad3 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Wed, 12 Feb 2003 15:39:16 +0000 Subject: [PATCH] More int() around float arguments. --- Mac/Tools/IDE/PyBrowser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mac/Tools/IDE/PyBrowser.py b/Mac/Tools/IDE/PyBrowser.py index 19ddbef0f3b..397347ed669 100644 --- a/Mac/Tools/IDE/PyBrowser.py +++ b/Mac/Tools/IDE/PyBrowser.py @@ -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)