summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-06-28 13:52:09 +0000
committerrubidium <rubidium@openttd.org>2010-06-28 13:52:09 +0000
commit0599cb67ce4f0987ff52c4112ac53990eb59f0e2 (patch)
tree91d339104df1d0808a61d47127a3bcc335acf165 /projects
parent5297eb5722a56832647ee4249423e651d9e404da (diff)
downloadopenttd-0599cb67ce4f0987ff52c4112ac53990eb59f0e2.tar.xz
(svn r20029) -Fix: the 64 bits TortoiseSVN wasn't always properly detected
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 0b4f27643..9d9f21f6e 100755
--- a/projects/determineversion.vbs
+++ b/projects/determineversion.vbs
@@ -96,7 +96,7 @@ Function DetermineSVNVersion()
Dim sTortoise
' First, try with 32-bit architecture
sTortoise = ReadRegistryKey("HKLM", "SOFTWARE\TortoiseSVN", "Directory", 32)
- If sTortoise = "" Then
+ If sTortoise = "" Or IsNull(sTortoise) Then
' No 32-bit version of TortoiseSVN installed, try 64-bit version (doesn't hurt on 32-bit machines, it returns nothing or is ignored)
sTortoise = ReadRegistryKey("HKLM", "SOFTWARE\TortoiseSVN", "Directory", 64)
End If