diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-02-12 15:39:16 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-02-12 15:39:16 (GMT) |
commit | a359a3d0ac42cb9720af41c1b99fce9422eb0ad3 (patch) | |
tree | 993b1512bc66bf1a60199534226790d3be76386f /Mac/Tools | |
parent | c0452da1b89ec8a71b778d3bd60ed748d4e6a5b1 (diff) | |
download | cpython-a359a3d0ac42cb9720af41c1b99fce9422eb0ad3.zip cpython-a359a3d0ac42cb9720af41c1b99fce9422eb0ad3.tar.gz cpython-a359a3d0ac42cb9720af41c1b99fce9422eb0ad3.tar.bz2 |
More int() around float arguments.
Diffstat (limited to 'Mac/Tools')
-rw-r--r-- | Mac/Tools/IDE/PyBrowser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Tools/IDE/PyBrowser.py b/Mac/Tools/IDE/PyBrowser.py index 19ddbef..397347e 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) |