X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fhildon2%2Fmodest-address-book.c;h=d6d06c0716acf3441b77d3e750862dcbf360568f;hb=23147dbc26514846be4a9b803b862801c7b1c82b;hp=05c2b864b8373103e871a31f7dfaad0a40ef2ba3;hpb=2f3a696a7f1f4b147ae531270a7aaf69ea900ab7;p=modest 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;