Explorar o código

Fix compilation.

Martijn Laan hai 1 ano
pai
achega
f9c9373281
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Projects/Src/InstFunc.pas

+ 1 - 1
Projects/Src/InstFunc.pas

@@ -194,7 +194,7 @@ begin
   var Drive := PathExtractDrive(Path);
   var IsAdminAndIsLocalTemp := AllowOnlyPrivilegedAccess and (Drive <> '') and
     not PathCharIsSlash(Drive[1]) and
-    (GetDriveType(PChar(AddBackslash(Drive))) <> DRIVE_NETWORK);
+    (GetDriveType(PChar(AddBackslash(Drive))) <> DRIVE_REMOTE);
 
   if not IsUnderWindowsTemp and not IsAdminAndIsLocalTemp then begin
     Result := CreateDirectory(PChar(Path), nil);