better string comparison of filter text
This commit is contained in:
parent
7265b4f98d
commit
d0e8c7260a
|
@ -104,7 +104,7 @@ typedef enum
|
||||||
if ([text isEqualToString: @""])
|
if ([text isEqualToString: @""])
|
||||||
text = nil;
|
text = nil;
|
||||||
|
|
||||||
if (text == fFilterText || [text isEqualToString: fFilterText])
|
if ((!text && !fFilterText) || (text && fFilterText && [text isEqualToString: fFilterText]))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
[fFilterText release];
|
[fFilterText release];
|
||||||
|
|
Loading…
Reference in New Issue