[Python-checkins] python/dist/src/Mac/Tools/IDE PyBrowser.py,1.22,1.23
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Wed, 12 Feb 2003 07:39:18 -0800
Update of /cvsroot/python/python/dist/src/Mac/Tools/IDE
In directory sc8-pr-cvs1:/tmp/cvs-serv31767
Modified Files:
PyBrowser.py
Log Message:
More int() around float arguments.
Index: PyBrowser.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Tools/IDE/PyBrowser.py,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** PyBrowser.py 6 Feb 2003 22:32:35 -0000 1.22
--- PyBrowser.py 12 Feb 2003 15:39:16 -0000 1.23
***************
*** 92,96 ****
l, t, r, b = cellRect
cellwidth = r - l
! Qd.MoveTo(l + 2, t + ascent)
condense, text = truncString(text, cellwidth - 3)
if condense:
--- 92,96 ----
l, t, r, b = cellRect
cellwidth = r - l
! Qd.MoveTo(int(l + 2), int(t + ascent))
condense, text = truncString(text, cellwidth - 3)
if condense: