Browse Source

Oops :$ Had it like that for testing.

Martijn Laan 13 years ago
parent
commit
c76259dbeb
1 changed files with 1 additions and 1 deletions
  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 }