Browse Source

FIX: Use FileGetAttrUAC

Alexander Koblov 4 năm trước cách đây
mục cha
commit
92aaf47f76
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/filesources/filesystem/ufilesystemutil.pas

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

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