Use NSDiacriticInsensitiveSearch in file list search, to match the transfer list search.

This commit is contained in:
Mitchell Livingston 2011-05-16 02:03:27 +00:00
parent a6f90b6a2e
commit 5b01685146
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ typedef enum
NSMutableArray * list = [NSMutableArray arrayWithCapacity: [fTorrent fileCount]];
for (FileListNode * node in [fTorrent flatFileList])
if ([[node name] rangeOfString: fFilterText options: NSCaseInsensitiveSearch].location != NSNotFound)
if ([[node name] rangeOfString: fFilterText options: (NSCaseInsensitiveSearch | NSDiacriticInsensitiveSearch)].location != NSNotFound)
[list addObject: node];
fFileList = [[NSArray alloc] initWithArray: list];