diff options
Diffstat (limited to 'packages/rtl-objpas/src/inc/strutils.pp')
-rw-r--r-- | packages/rtl-objpas/src/inc/strutils.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/rtl-objpas/src/inc/strutils.pp b/packages/rtl-objpas/src/inc/strutils.pp index 8233c1ecce..b89ad41c45 100644 --- a/packages/rtl-objpas/src/inc/strutils.pp +++ b/packages/rtl-objpas/src/inc/strutils.pp @@ -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; |