Changeset - r23274:ef4c06a08253
[Not reviewed]
master
0 1 0
glx - 5 years ago 2019-02-03 18:42:53
glx@openttd.org
Fix #7171: incorrect modified status with determineversion.vbs
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
projects/determineversion.vbs
Show inline comments
 
@@ -56,7 +56,7 @@ Function DetermineVersion()
 
	Set WshShell = CreateObject("WScript.Shell")
 
	On Error Resume Next
 

	
 
	modified = 1
 
	modified = 0
 
	hash = ""
 
	shorthash = ""
 
	branch = ""
 
@@ -135,6 +135,7 @@ Function DetermineVersion()
 
		rev_file.Close()
 
	ElseIf hash = "" Then
 
		DetermineVersion = "norev000"
 
		modified = 1
 
	Else
 
		Dim version, hashprefix
 
		If modified = 0 Then
0 comments (0 inline, 0 general)