mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
ContactsTableViewController: fix contacts list when having 2 contacts with the same name
This commit is contained in:
parent
0261734e8d
commit
1e4c5b58ad
1 changed files with 3 additions and 0 deletions
|
|
@ -194,6 +194,9 @@ static int ms_strcmpfuz(const char *fuzzy_word, const char *sentence) {
|
|||
forKey:firstChar
|
||||
selector:@selector(caseInsensitiveCompare:)];
|
||||
}
|
||||
while ([subDic objectForKey:name2ASCII] != nil) {
|
||||
name2ASCII = [name2ASCII stringByAppendingString:@"_"];
|
||||
}
|
||||
[subDic insertObject:lPerson forKey:name2ASCII selector:@selector(caseInsensitiveCompare:)];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue