浏览代码

Oops :$ Had it like that for testing.

Martijn Laan 13 年之前
父节点
当前提交
c76259dbeb
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 }