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