From 0fe178a6ed24a7a08f4ea720365e965f015ce669 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 28 Jun 2010 13:52:09 +0000 Subject: [PATCH] (svn r20029) -Fix: the 64 bits TortoiseSVN wasn't always properly detected --- projects/determineversion.vbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/determineversion.vbs b/projects/determineversion.vbs index 0b4f27643e..9d9f21f6e4 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