diff options
author | caiqm <caiqm@marathon.Prc.Sun.COM> | 2010-03-31 14:39:56 +0800 |
---|---|---|
committer | caiqm <caiqm@marathon.Prc.Sun.COM> | 2010-03-31 14:39:56 +0800 |
commit | f0e8977241f764dabeec3c3c6d78a65606863085 (patch) | |
tree | f029d23c9298e336cb9879408e24b688ef264d25 /addressbook/gui | |
parent | ac49d56810b0d908bb17608f58cb0635c87d6240 (diff) | |
download | gsoc2013-evolution-f0e8977241f764dabeec3c3c6d78a65606863085.tar.gz gsoc2013-evolution-f0e8977241f764dabeec3c3c6d78a65606863085.tar.zst gsoc2013-evolution-f0e8977241f764dabeec3c3c6d78a65606863085.zip |
If no <> in the email address, the address should be the full email address.
Fix for #613564
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-quick-add.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-quick-add.c b/addressbook/gui/contact-editor/e-contact-quick-add.c index 36bd4ed948..d10ceeac6f 100644 --- a/addressbook/gui/contact-editor/e-contact-quick-add.c +++ b/addressbook/gui/contact-editor/e-contact-quick-add.c @@ -605,6 +605,8 @@ e_contact_quick_add_email (const gchar *email, EContactQuickAddCallback cb, gpoi if (lt != NULL && gt != NULL && (gt - lt) > 0) { name = g_strndup (email, lt - email); addr = g_strndup (lt + 1, gt - lt - 1); + } else { + addr = email; } e_contact_quick_add (name, addr, cb, closure); |