diff options
-rw-r--r-- | contactList.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contactList.c b/contactList.c index 642aa19..d817120 100644 --- a/contactList.c +++ b/contactList.c @@ -48,7 +48,7 @@ int findContactFromName(const char* name, contact** out) { return 1; for(int i = 0 ; i < nbContacts ; i++) { - if( strstr(contactList[i].display_name, name) ) { + if( strcasestr(contactList[i].display_name, name) ) { *out = contactList+i; return 0; } |