aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/backend')
-rw-r--r--addressbook/backend/ebook/e-card-compare.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/addressbook/backend/ebook/e-card-compare.c b/addressbook/backend/ebook/e-card-compare.c
index 1de7e2b1f7..d8acbda48e 100644
--- a/addressbook/backend/ebook/e-card-compare.c
+++ b/addressbook/backend/ebook/e-card-compare.c
@@ -134,7 +134,8 @@ e_card_compare_name (ECard *card1, ECard *card2)
if (a->family && b->family) {
++possible;
- if (name_fragment_match (a->family, b->family)) {
+ /* We don't allow "loose matching" (i.e. John vs. Jon) on family names */
+ if (! g_utf8_strcasecmp (a->family, b->family)) {
++matches;
family_match = TRUE;
}