mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 00:28:23 +02:00
* Fix copy and paste error. Fixes issue #40863
(cherry picked from commit 963a55db52
)
This commit is contained in:
parent
d78e289701
commit
8363352c19
@ -773,12 +773,12 @@ end;
|
||||
|
||||
function ExcludeTrailingBackslash(const S: AnsiString): AnsiString;
|
||||
begin
|
||||
Result:={$IFDEF FPC_DOTTEDUNITS}System.{$ENDIF}SysUtils.ExcludeLeadingPathDelimiter(S);
|
||||
Result:={$IFDEF FPC_DOTTEDUNITS}System.{$ENDIF}SysUtils.ExcludeTrailingBackslash(S);
|
||||
end;
|
||||
|
||||
function ExcludeTrailingPathDelimiter(const S: AnsiString): AnsiString;
|
||||
begin
|
||||
Result:={$IFDEF FPC_DOTTEDUNITS}System.{$ENDIF}SysUtils.ExcludeLeadingPathDelimiter(S);
|
||||
Result:={$IFDEF FPC_DOTTEDUNITS}System.{$ENDIF}SysUtils.ExcludeTrailingPathDelimiter(S);
|
||||
end;
|
||||
|
||||
function ExpandFileNameCase(const FileName: AnsiString; out
|
||||
|
Loading…
Reference in New Issue
Block a user