summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-08-22 15:15:11 +0000
committerglx <glx@openttd.org>2008-08-22 15:15:11 +0000
commit1703595861663b414c7c8cd9d90b6f5034fc0cc3 (patch)
tree98b3e717df75e3c7d36253618051ed6ded8f6b61 /projects
parentdd1ae8c13f63b513310f06e89898d8b791333f8f (diff)
downloadopenttd-1703595861663b414c7c8cd9d90b6f5034fc0cc3.tar.xz
(svn r14128) -Fix: first run of determineversion.vbs in a fresh clean hg checkout always detected the sources as modified
Diffstat (limited to 'projects')
-rwxr-xr-xprojects/determineversion.vbs2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/determineversion.vbs b/projects/determineversion.vbs
index 3fb7e6a6e..896d3e5e0 100755
--- a/projects/determineversion.vbs
+++ b/projects/determineversion.vbs
@@ -219,7 +219,7 @@ Function DetermineSVNVersion()
If Err.Number = 0 Then
Do
line = OExec.StdOut.ReadLine()
- If Mid(line, 1, 1) <> "?" Then
+ If Len(line) > 0 And Mid(line, 1, 1) <> "?" Then
version = version & "M"
Exit Do
End If