* fix for drive existence in windows app modus, closes #40558

This commit is contained in:
marcoonthegit 2023-12-14 09:37:42 +01:00
parent 5c090fce2c
commit 59883da0a0

View File

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