mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
better string comparison of filter text
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user