From: Jose Dapena Paz Date: Thu, 27 Aug 2009 09:32:02 +0000 (+0200) Subject: On showing the check names "select contact" dialog, filter properly case. X-Git-Tag: 3.90.1~78 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=d4442e04a5fa886e68731c00756426f4760e4f52 On showing the check names "select contact" dialog, filter properly case. * src/hildon2/modest-address-book.c (filter_by_name): use case insensitive filtering (fixes NB#135191). --- diff --git a/src/hildon2/modest-address-book.c b/src/hildon2/modest-address-book.c index 05c2b86..d6d06c0 100644 --- a/src/hildon2/modest-address-book.c +++ b/src/hildon2/modest-address-book.c @@ -38,6 +38,7 @@ #include #include "modest-hildon-includes.h" #include +#include #include "modest-platform.h" #include "modest-runtime.h" #include "widgets/modest-window-mgr.h" @@ -941,7 +942,7 @@ filter_by_name (OssoABookContactChooser *chooser, contact_name = osso_abook_contact_get_name (contact); /* contact_name includes both name and surname */ - if (contact_name && name && strstr (contact_name, name)) + if (contact_name && name && e_util_utf8_strstrcase (contact_name, name)) return TRUE; else return FALSE;