mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-23 13:09:00 +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
|
begin
|
||||||
Result := False;
|
Result := False;
|
||||||
ADrv := ExtractFileDrive(Dir);
|
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;
|
{$IFNDEF FORCEDIR_NO_UNC_SUPPORT} and (not IsUncDrive(ADrv)){$ENDIF} then Exit;
|
||||||
if Dir='' then
|
if Dir='' then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user