aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/ebook
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-08-05 09:01:31 +0800
committerChris Lahey <clahey@src.gnome.org>2001-08-05 09:01:31 +0800
commit324f2b9768e8b30849cea65f640b381f7f7ddfd0 (patch)
tree03370a4c77c9a95b86bf5686c7fe907b6af7cbe8 /addressbook/backend/ebook
parent872691b50eb68d38d814ea1f919a0190b9a658fc (diff)
downloadgsoc2013-evolution-324f2b9768e8b30849cea65f640b381f7f7ddfd0.tar
gsoc2013-evolution-324f2b9768e8b30849cea65f640b381f7f7ddfd0.tar.gz
gsoc2013-evolution-324f2b9768e8b30849cea65f640b381f7f7ddfd0.tar.bz2
gsoc2013-evolution-324f2b9768e8b30849cea65f640b381f7f7ddfd0.tar.lz
gsoc2013-evolution-324f2b9768e8b30849cea65f640b381f7f7ddfd0.tar.xz
gsoc2013-evolution-324f2b9768e8b30849cea65f640b381f7f7ddfd0.tar.zst
gsoc2013-evolution-324f2b9768e8b30849cea65f640b381f7f7ddfd0.zip
Made it so that if there's one less match than possible compares are
2001-08-04 Christopher James Lahey <clahey@ximian.com> * backend/ebook/e-card-compare.c (e_card_compare_name): Made it so that if there's one less match than possible compares are considered more VAGUE. Fixes Ximian bug #3400. svn path=/trunk/; revision=11685
Diffstat (limited to 'addressbook/backend/ebook')
-rw-r--r--addressbook/backend/ebook/e-card-compare.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/backend/ebook/e-card-compare.c b/addressbook/backend/ebook/e-card-compare.c
index 19352e4755..1de7e2b1f7 100644
--- a/addressbook/backend/ebook/e-card-compare.c
+++ b/addressbook/backend/ebook/e-card-compare.c
@@ -154,7 +154,7 @@ e_card_compare_name (ECard *card1, ECard *card2)
return family_match ? E_CARD_MATCH_EXACT : E_CARD_MATCH_PARTIAL;
if (possible == matches+1)
- return family_match ? E_CARD_MATCH_PARTIAL : E_CARD_MATCH_VAGUE;
+ return family_match ? E_CARD_MATCH_VAGUE : E_CARD_MATCH_NONE;
return E_CARD_MATCH_NONE;
}