mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-25 02:41:22 +00:00
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:
parent
f0185b2652
commit
22294cec5c
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue