diff options
author | Federico Mena Quintero <federico@novell.com> | 2010-04-10 04:09:46 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@novell.com> | 2010-04-10 04:09:46 +0800 |
commit | b360395495a273356355959c1067c00abf18e2d4 (patch) | |
tree | 8316320e8e3c2078fafa9ced6a503197b5e6d6cd /addressbook | |
parent | 5b5ac7a174676bf665b627b25d25ae9a9de689f4 (diff) | |
parent | a16f08974d6955f843dddce3b9423c5349873488 (diff) | |
download | gsoc2013-evolution-b360395495a273356355959c1067c00abf18e2d4.tar gsoc2013-evolution-b360395495a273356355959c1067c00abf18e2d4.tar.gz gsoc2013-evolution-b360395495a273356355959c1067c00abf18e2d4.tar.bz2 gsoc2013-evolution-b360395495a273356355959c1067c00abf18e2d4.tar.lz gsoc2013-evolution-b360395495a273356355959c1067c00abf18e2d4.tar.xz gsoc2013-evolution-b360395495a273356355959c1067c00abf18e2d4.tar.zst gsoc2013-evolution-b360395495a273356355959c1067c00abf18e2d4.zip |
Merge branch 'express2' into express2-reduced-preferences
Diffstat (limited to 'addressbook')
-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); |