Przeglądaj źródła

Fix compilation.

Martijn Laan 1 rok temu
rodzic
commit
f9c9373281
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Projects/Src/InstFunc.pas

+ 1 - 1
Projects/Src/InstFunc.pas

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