mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-31 01:00:32 +02:00
* Patch from Wagner Landgraf to fix order of params in StartsStr/EndsStr (Issue ID 38853)
This commit is contained in:
parent
f50e3b21a8
commit
a12207ccc3
@ -2161,13 +2161,13 @@ end;
|
||||
Function StartsStr(const ASubText, AText: string): Boolean;
|
||||
|
||||
begin
|
||||
Result := AnsiStartsStr(AText, ASubText);
|
||||
Result := AnsiStartsStr(ASubText, AText);
|
||||
end;
|
||||
|
||||
Function EndsStr(const ASubText, AText: string): Boolean;
|
||||
|
||||
begin
|
||||
Result := AnsiEndsStr(AText, ASubText);
|
||||
Result := AnsiEndsStr(ASubText, AText);
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user