diff options
author | rubidium <rubidium@openttd.org> | 2010-06-28 13:52:09 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-06-28 13:52:09 +0000 |
commit | 0599cb67ce4f0987ff52c4112ac53990eb59f0e2 (patch) | |
tree | 91d339104df1d0808a61d47127a3bcc335acf165 /projects | |
parent | 5297eb5722a56832647ee4249423e651d9e404da (diff) | |
download | openttd-0599cb67ce4f0987ff52c4112ac53990eb59f0e2.tar.xz |
(svn r20029) -Fix: the 64 bits TortoiseSVN wasn't always properly detected
Diffstat (limited to 'projects')
-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 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 |