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:
spog 2006-03-02 22:05:35 +00:00
parent f0185b2652
commit 22294cec5c

View file

@ -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