mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-22 12:49:19 +02:00
* fix for drive existence in windows app modus, closes #40558
This commit is contained in:
parent
5c090fce2c
commit
59883da0a0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user