mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 00:29:33 +02:00
* use sametext instead of converting case
This commit is contained in:
parent
055bd2c653
commit
c8d86b3fda
@ -846,7 +846,7 @@ function TRttiExpWideStringNodeItem.Evaluate(AInstance: TRttiFilterCreatorTarget
|
||||
begin
|
||||
case Operation of
|
||||
sfoEqualCaseSensitive : Result := ( GetWideStrProp(AInstance,PropInfo) = ComparedValue );
|
||||
sfoEqualCaseInsensitive : Result := ( LowerCase(GetWideStrProp(AInstance,PropInfo)) = LowerCase(ComparedValue) );
|
||||
sfoEqualCaseInsensitive : Result := ( SameText(GetWideStrProp(AInstance,PropInfo),ComparedValue));
|
||||
sfoNotEqual : Result := not SameText(GetWideStrProp(AInstance,PropInfo),ComparedValue);
|
||||
else begin
|
||||
Assert(False);
|
||||
|
Loading…
Reference in New Issue
Block a user