[Python-checkins] python/dist/src/Lib/curses textpad.py, 1.7.2.2, 1.7.2.3
jhylton@users.sourceforge.net
jhylton at users.sourceforge.net
Sun Oct 16 07:24:32 CEST 2005
- Previous message: [Python-checkins] python/dist/src/Grammar Grammar, 1.47.2.3, 1.47.2.4
- Next message: [Python-checkins] python/dist/src/Doc/texinputs underscore.sty, NONE, 1.1.2.2 howto.cls, 1.13.2.1, 1.13.2.2 manual.cls, 1.18.2.1, 1.18.2.2 python.sty, 1.96.2.2, 1.96.2.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib/curses
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27718/Lib/curses
Modified Files:
Tag: ast-branch
textpad.py
Log Message:
Merge head to branch (for the last time)
Index: textpad.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/curses/textpad.py,v
retrieving revision 1.7.2.2
retrieving revision 1.7.2.3
diff -u -d -r1.7.2.2 -r1.7.2.3
--- textpad.py 7 Jan 2005 06:58:14 -0000 1.7.2.2
+++ textpad.py 16 Oct 2005 05:23:59 -0000 1.7.2.3
@@ -53,7 +53,7 @@
last = self.maxx
while 1:
if ascii.ascii(self.win.inch(y, last)) != ascii.SP:
- last = last + 1
+ last = min(self.maxx, last+1)
break
elif last == 0:
break
- Previous message: [Python-checkins] python/dist/src/Grammar Grammar, 1.47.2.3, 1.47.2.4
- Next message: [Python-checkins] python/dist/src/Doc/texinputs underscore.sty, NONE, 1.1.2.2 howto.cls, 1.13.2.1, 1.13.2.2 manual.cls, 1.18.2.1, 1.18.2.2 python.sty, 1.96.2.2, 1.96.2.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-checkins
mailing list