fixed newlines being included in aboutmsg.h
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@35 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
@@ -81,6 +81,8 @@ def radiant_makeversion(append_about, root = os.getcwd()):
|
||||
f = open(aboutfile, 'r')
|
||||
line = f.readline()
|
||||
f.close()
|
||||
if line.endswith("\n"):
|
||||
line = line[:-1]
|
||||
else:
|
||||
line = "Custom build based on revision " + str(svn.getRevision(os.getcwd()))
|
||||
# optional additional message
|
||||
|
||||
Reference in New Issue
Block a user