Explorar o código

Oops :$ Had it like that for testing.

Martijn Laan %!s(int64=13) %!d(string=hai) anos
pai
achega
c76259dbeb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Projects/Main.pas

+ 1 - 1
Projects/Main.pas

@@ -1003,7 +1003,7 @@ begin
   else if Cnst = 'tmp' then Result := TempInstallDir
   else if Cnst = 'sd' then Result := SystemDrive
   else if Cnst = 'userpf' then begin
-    if ProgramFilesUserDir = '' then
+    if ProgramFilesUserDir <> '' then
       Result := ProgramFilesUserDir
     else
       Result := ExpandConst('{localappdata}\Programs'); { supply default, same as Window 7 and newer }