From 3e791ca690cd1f0c75a918715ecc196b665e25ea Mon Sep 17 00:00:00 2001 From: Devashish Sharma Date: Mon, 6 Mar 2006 10:59:03 +0000 Subject: Fix for Bug 332915. svn path=/trunk/; revision=31666 --- addressbook/ChangeLog | 5 +++++ addressbook/gui/contact-editor/e-contact-editor.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 406c09fac7..02e19a7204 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2006-03-06 Devashish Sharma + + * gui/contact-editor/e-contact-editor.c (fill_in_address_textview): + Fix for Bug 332915. + 2006-03-06 Devashish Sharma * importers/evolution-ldif-importer.c (ldif_import): 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 { -- cgit