mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 13:49:12 +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
|
if (Length(AText) >= Length(ASubText)) and (ASubText <> '') then
|
||||||
Result := StrLComp(PChar(ASubText), PChar(AText), Length(ASubText)) = 0
|
Result := StrLComp(PChar(ASubText), PChar(AText), Length(ASubText)) = 0
|
||||||
else
|
else
|
||||||
Result := False;
|
Result := (AsubText='');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user