* Fix typo in ansiEndsString, resulting in wrong behaviour

git-svn-id: trunk@38777 -
This commit is contained in:
michael 2018-04-16 09:45:44 +00:00
parent 5d2a627572
commit 659bf09325

View File

@ -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;