aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor/e-contact-editor.c
diff options
context:
space:
mode:
authorDevashish Sharma <dsharma@src.gnome.org>2006-03-06 18:59:03 +0800
committerDevashish Sharma <dsharma@src.gnome.org>2006-03-06 18:59:03 +0800
commit3e791ca690cd1f0c75a918715ecc196b665e25ea (patch)
tree8cd81f8a40936017114f11dc010b48024e487a4b /addressbook/gui/contact-editor/e-contact-editor.c
parent53011db8cc0a944eac01f50c7aadb28d89d69a42 (diff)
downloadgsoc2013-evolution-3e791ca690cd1f0c75a918715ecc196b665e25ea.tar
gsoc2013-evolution-3e791ca690cd1f0c75a918715ecc196b665e25ea.tar.gz
gsoc2013-evolution-3e791ca690cd1f0c75a918715ecc196b665e25ea.tar.bz2
gsoc2013-evolution-3e791ca690cd1f0c75a918715ecc196b665e25ea.tar.lz
gsoc2013-evolution-3e791ca690cd1f0c75a918715ecc196b665e25ea.tar.xz
gsoc2013-evolution-3e791ca690cd1f0c75a918715ecc196b665e25ea.tar.zst
gsoc2013-evolution-3e791ca690cd1f0c75a918715ecc196b665e25ea.zip
Fix for Bug 332915.
svn path=/trunk/; revision=31666
Diffstat (limited to 'addressbook/gui/contact-editor/e-contact-editor.c')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index 311370087c..5bd9d1e09f 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -1749,7 +1749,7 @@ fill_in_address_textview (EContactEditor *editor, gint record, EContactAddress *
gtk_text_buffer_set_text (text_buffer, address->street ? address->street : "", -1);
gtk_text_buffer_get_end_iter (text_buffer, &iter_end);
- if (address->ext) {
+ if (address->ext && *address->ext) {
gtk_text_buffer_insert (text_buffer, &iter_end, "\n", -1);
gtk_text_buffer_insert (text_buffer, &iter_end, address->ext, -1);
} else {