1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 09:09:09 +00:00

(svn r14128) -Fix: first run of determineversion.vbs in a fresh clean hg checkout always detected the sources as modified

This commit is contained in:
glx
2008-08-22 15:15:11 +00:00
parent bb3c205e05
commit c428ce6277

View File

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