@@ -70,14 +70,12 @@ def my__import__(name, globals=None, locals=None, fromlist=None):
7070
7171_keepsplashscreenopen = 0
7272
73- abouttext1 = """The Python Integrated Developement Environment for the Macintosh
73+ abouttext1 = """The Python Integrated Development Environment for the Macintosh
7474Version: %s
7575Copyright 1997-2000 Just van Rossum, Letterror. <[email protected] > 7676
7777Python %s
7878%s
79- Written by Guido van Rossum with Jack Jansen (and others)
80-
8179See: <http://www.python.org/> for information and documentation."""
8280
8381flauwekul = [ 'Goodday, Bruce.' ,
@@ -93,8 +91,11 @@ def my__import__(name, globals=None, locals=None, fromlist=None):
9391Bicycle Repair Man!"""
9492 ]
9593
94+ def skipdoublereturns (text ):
95+ return string .replace (text , '\n \n ' , '\n ' )
96+
9697def nl2return (text ):
97- return string .join ( string . split ( text , '\n ' ) , '\r ' )
98+ return string .replace ( text , '\n ' , '\r ' )
9899
99100def UpdateSplash (drawdialog = 0 , what = 0 ):
100101 if drawdialog :
@@ -109,11 +110,11 @@ def drawtext(what = 0):
109110 fontID = geneva
110111 Qd .TextFont (fontID )
111112 Qd .TextSize (9 )
112- rect = (10 , 125 , 390 , 260 )
113+ rect = (10 , 115 , 390 , 290 )
113114 if not what :
114115 import __main__
115- abouttxt = nl2return (abouttext1 \
116- % ( __main__ .__version__ , sys .version , sys .copyright ))
116+ abouttxt = nl2return (abouttext1 % (
117+ __main__ .__version__ , sys .version , skipdoublereturns ( sys .copyright ) ))
117118 else :
118119 import random
119120 abouttxt = nl2return (random .choice (flauwekul ))
@@ -133,7 +134,7 @@ def wait():
133134 time = Evt .TickCount ()
134135 whattext = 0
135136 while _keepsplashscreenopen :
136- ok , event = Evt .EventAvail (highLevelEventMask )
137+ ) ok , event = Evt .EventAvail (highLevelEventMask )
137138 if ok :
138139 # got apple event, back to mainloop
139140 break
0 commit comments