Skip to content

Commit

Permalink
(svn r20029) -Fix: the 64 bits TortoiseSVN wasn't always properly det…
Browse files Browse the repository at this point in the history
…ected
  • Loading branch information
rubidium42 committed Jun 28, 2010
1 parent 5297eb5 commit 0599cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/determineversion.vbs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0599cb6

Please sign in to comment.