瀏覽代碼

Fix compilation.

Martijn Laan 1 年之前
父節點
當前提交
f9c9373281
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);