mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 04:59:26 +02:00
* Fix typo in ansiEndsString, resulting in wrong behaviour
git-svn-id: trunk@38777 -
This commit is contained in:
parent
5d2a627572
commit
659bf09325
@ -967,7 +967,7 @@ end;
|
||||
|
||||
function AnsiEndsStr(const ASubText, AText: string): Boolean;
|
||||
begin
|
||||
Result := (ASubText = '') or (RightStr(AText, Length(ASubText)) = AText);
|
||||
Result := (ASubText = '') or (RightStr(AText, Length(ASubText)) = ASubText);
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user