fixed newlines being included in aboutmsg.h
authorspog <spog>
Thu, 2 Mar 2006 22:05:35 +0000 (22:05 +0000)
committerspog <spog>
Thu, 2 Mar 2006 22:05:35 +0000 (22:05 +0000)
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@35 8a3a26a2-13c4-0310-b231-cf6edde360e5

makeversion.py

index c663305..3dab61c 100644 (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