Explorar o código

FIX: Use FileGetAttrUAC

Alexander Koblov %!s(int64=4) %!d(string=hai) anos
pai
achega
92aaf47f76
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;