* Fix bug ID #0038580: Empty text for startsstr

git-svn-id: trunk@48898 -
This commit is contained in:
michael 2021-03-07 18:58:23 +00:00
parent b0772ae749
commit 582e39e989

View File

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