Made username match with no domain match be vague instead of partial.
2002-01-18 Christopher James Lahey <clahey@ximian.com> * backend/ebook/e-card-compare.c: Made username match with no domain match be vague instead of partial. Fixes Ximian bug #13612. svn path=/trunk/; revision=15356
This commit is contained in:

committed by
Chris Lahey

parent
a30eed771c
commit
1a9925e251
@ -1,3 +1,9 @@
|
||||
2002-01-18 Christopher James Lahey <clahey@ximian.com>
|
||||
|
||||
* backend/ebook/e-card-compare.c: Made username match with no
|
||||
domain match be vague instead of partial. Fixes Ximian bug
|
||||
#13612.
|
||||
|
||||
2002-01-18 Christopher James Lahey <clahey@ximian.com>
|
||||
|
||||
* gui/component/addressbook.c (view_contact_cb): New verb to open
|
||||
|
@ -424,7 +424,7 @@ compare_email_addresses (const gchar *addr1, const gchar *addr2)
|
||||
return E_CARD_MATCH_NOT_APPLICABLE;
|
||||
|
||||
if (match_email_username (addr1, addr2))
|
||||
return match_email_hostname (addr1, addr2) ? E_CARD_MATCH_EXACT : E_CARD_MATCH_PARTIAL;
|
||||
return match_email_hostname (addr1, addr2) ? E_CARD_MATCH_EXACT : E_CARD_MATCH_VAGUE;
|
||||
|
||||
return E_CARD_MATCH_NONE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user