diff options
author | glx <glx@openttd.org> | 2008-08-22 15:15:11 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2008-08-22 15:15:11 +0000 |
commit | c428ce627783b8182dea53ece648a49f09f5d7c4 (patch) | |
tree | 98b3e717df75e3c7d36253618051ed6ded8f6b61 | |
parent | bb3c205e05b4f63db3cbaa9c001fca441b372364 (diff) | |
download | openttd-c428ce627783b8182dea53ece648a49f09f5d7c4.tar.xz |
(svn r14128) -Fix: first run of determineversion.vbs in a fresh clean hg checkout always detected the sources as modified
-rwxr-xr-x | projects/determineversion.vbs | 2 |
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 |