mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 20:49:23 +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
|
begin
|
||||||
case Operation of
|
case Operation of
|
||||||
sfoEqualCaseSensitive : Result := ( GetWideStrProp(AInstance,PropInfo) = ComparedValue );
|
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);
|
sfoNotEqual : Result := not SameText(GetWideStrProp(AInstance,PropInfo),ComparedValue);
|
||||||
else begin
|
else begin
|
||||||
Assert(False);
|
Assert(False);
|
||||||
|
Loading…
Reference in New Issue
Block a user