Browse Source

* typo fix in previous commit relating to #40558

marcoonthegit 1 year ago
parent
commit
d91847f39c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/objpas/sysutils/disk.inc

+ 1 - 1
rtl/objpas/sysutils/disk.inc

@@ -110,7 +110,7 @@ begin
   Result:=False;
   ADrv:=ExtractFileDrive(Dir);
   if (ADrv<>'') and
-     (not DirectoryExists(ADrv)+DirectorySeparator)
+     (not DirectoryExists(ADrv+DirectorySeparator))
      {$IFNDEF FORCEDIR_NO_UNC_SUPPORT} and (not IsUncDrive(ADrv)){$ENDIF} then
     Exit;
   if Dir='' then