浏览代码

FIX: Use FileGetAttrUAC

Alexander Koblov 4 年之前
父节点
当前提交
92aaf47f76
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/filesources/filesystem/ufilesystemutil.pas

+ 1 - 1
src/filesources/filesystem/ufilesystemutil.pas

@@ -1314,7 +1314,7 @@ var
 
 
 begin
 begin
   repeat
   repeat
-    Attrs := mbFileGetAttr(AbsoluteTargetFileName);
+    Attrs := FileGetAttrUAC(AbsoluteTargetFileName);
     if Attrs <> faInvalidAttributes then
     if Attrs <> faInvalidAttributes then
     begin
     begin
       SourceFile := aNode.TheFile;
       SourceFile := aNode.TheFile;