From 5b01685146d5aa1cd7796c416cacb35719a1cbaf Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Mon, 16 May 2011 02:03:27 +0000 Subject: [PATCH] Use NSDiacriticInsensitiveSearch in file list search, to match the transfer list search. --- macosx/FileOutlineController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/FileOutlineController.m b/macosx/FileOutlineController.m index 6cd488ded..6fa6d8a06 100644 --- a/macosx/FileOutlineController.m +++ b/macosx/FileOutlineController.m @@ -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];