mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 03:48:27 +02:00
Fix ForceDirectoriesUtf8 for Windows Apps. See related fpc bugreport https://gitlab.com/freepascal.org/fpc/source/-/issues/40558.
This commit is contained in:
parent
78816cede1
commit
5335e14783
@ -1264,7 +1264,7 @@ var
|
||||
begin
|
||||
Result := False;
|
||||
ADrv := ExtractFileDrive(Dir);
|
||||
if (ADrv<>'') and (not DirectoryExistsUTF8(ADrv))
|
||||
if (ADrv<>'') and (not DirectoryExistsUTF8(ADrv+DirectorySeparator))
|
||||
{$IFNDEF FORCEDIR_NO_UNC_SUPPORT} and (not IsUncDrive(ADrv)){$ENDIF} then Exit;
|
||||
if Dir='' then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user