better string comparison of filter text

This commit is contained in:
Mitchell Livingston 2008-12-07 19:44:47 +00:00
parent 7265b4f98d
commit d0e8c7260a
1 changed files with 1 additions and 1 deletions

View File

@ -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];