summary refs log tree commit diff stats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/xchat-wdk.skel.iss14
1 files changed, 7 insertions, 7 deletions
diff --git a/build/xchat-wdk.skel.iss b/build/xchat-wdk.skel.iss
index f16c7e2e..44b58813 100644
--- a/build/xchat-wdk.skel.iss
+++ b/build/xchat-wdk.skel.iss
@@ -235,14 +235,14 @@ BeveledLabel= XChat-WDK
 /////////////////////////////////////////////////////////////////////

 function GetUninstallString(): String;

 var

-  sUnInstPath: String;

-  sUnInstallString: String;

+	sUnInstPath: String;

+	sUnInstallString: String;

 begin

-  sUnInstPath := ExpandConstant('Software\Microsoft\Windows\CurrentVersion\Uninstall\XChat-WDK_is1');

-  sUnInstallString := '';

-  if not RegQueryStringValue(HKLM, sUnInstPath, 'UninstallString', sUnInstallString) then

-    RegQueryStringValue(HKCU, sUnInstPath, 'UninstallString', sUnInstallString);

-  Result := sUnInstallString;

+	sUnInstPath := ExpandConstant('Software\Microsoft\Windows\CurrentVersion\Uninstall\XChat-WDK_is1');

+	sUnInstallString := '';

+	if not RegQueryStringValue(HKLM, sUnInstPath, 'UninstallString', sUnInstallString) then

+		RegQueryStringValue(HKCU, sUnInstPath, 'UninstallString', sUnInstallString);

+	Result := sUnInstallString;

 end;