mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-18 17:19:32 +02:00
* Fix bug ID #0038580: Empty text for startsstr
git-svn-id: trunk@48898 -
This commit is contained in:
parent
b0772ae749
commit
582e39e989
@ -1051,7 +1051,7 @@ begin
|
||||
if (Length(AText) >= Length(ASubText)) and (ASubText <> '') then
|
||||
Result := StrLComp(PChar(ASubText), PChar(AText), Length(ASubText)) = 0
|
||||
else
|
||||
Result := False;
|
||||
Result := (AsubText='');
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user