diff options
author | Jon Trowbridge <trow@ximian.com> | 2001-09-15 16:58:02 +0800 |
---|---|---|
committer | Jon Trowbridge <trow@src.gnome.org> | 2001-09-15 16:58:02 +0800 |
commit | 63a62abfad0269525b53ff4248547edf4d6500b9 (patch) | |
tree | ede3c7f7261eb5643833b335a113f5aef2ff9aac /addressbook/backend/ebook | |
parent | c2a0bf66ba4970b4a5afb29cfbadeaabbea88d4f (diff) | |
download | gsoc2013-evolution-63a62abfad0269525b53ff4248547edf4d6500b9.tar.gz gsoc2013-evolution-63a62abfad0269525b53ff4248547edf4d6500b9.tar.zst gsoc2013-evolution-63a62abfad0269525b53ff4248547edf4d6500b9.zip |
No loose name matches on family names. (#8802)
2001-09-15 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-card-compare.c (e_card_compare_name): No
loose name matches on family names. (#8802)
svn path=/trunk/; revision=12857
Diffstat (limited to 'addressbook/backend/ebook')
-rw-r--r-- | addressbook/backend/ebook/e-card-compare.c | 3 |
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; } |