diff options
author | JP Rosevear <jpr@ximian.com> | 2001-10-31 00:17:48 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-10-31 00:17:48 +0800 |
commit | bff44ae49b2aebf52cae6f830bcf9c521e9071ba (patch) | |
tree | b9ca94721c3484ad35c2de989b9eb4ace1e1b8b9 /addressbook/conduit | |
parent | b57629aa8243f9123706c770843e99fefced824c (diff) | |
download | gsoc2013-evolution-bff44ae49b2aebf52cae6f830bcf9c521e9071ba.tar gsoc2013-evolution-bff44ae49b2aebf52cae6f830bcf9c521e9071ba.tar.gz gsoc2013-evolution-bff44ae49b2aebf52cae6f830bcf9c521e9071ba.tar.bz2 gsoc2013-evolution-bff44ae49b2aebf52cae6f830bcf9c521e9071ba.tar.lz gsoc2013-evolution-bff44ae49b2aebf52cae6f830bcf9c521e9071ba.tar.xz gsoc2013-evolution-bff44ae49b2aebf52cae6f830bcf9c521e9071ba.tar.zst gsoc2013-evolution-bff44ae49b2aebf52cae6f830bcf9c521e9071ba.zip |
make sure to translate the character sets of the names
2001-10-30 JP Rosevear <jpr@ximian.com>
* conduit/address-conduit.c (ecard_from_remote_record): make sure
to translate the character sets of the names
svn path=/trunk/; revision=14463
Diffstat (limited to 'addressbook/conduit')
-rw-r--r-- | addressbook/conduit/address-conduit.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/addressbook/conduit/address-conduit.c b/addressbook/conduit/address-conduit.c index ffbcaa2343..16a6a14e98 100644 --- a/addressbook/conduit/address-conduit.c +++ b/addressbook/conduit/address-conduit.c @@ -856,10 +856,8 @@ ecard_from_remote_record(EAddrConduitContext *ctxt, /* Name */ name = e_card_name_copy (ecard->name); - if (address.entry[entryFirstname] && *address.entry[entryFirstname]) - name->given = g_strdup (address.entry[entryFirstname]); - if (address.entry[entryLastname] && *address.entry[entryLastname]) - name->family = g_strdup (address.entry[entryLastname]); + name->given = get_entry_text (address, entryFirstname); + name->family = get_entry_text (address, entryLastname); simple = e_card_simple_new (ecard); txt = e_card_name_to_string (name); |