aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/ChangeLog5
-rw-r--r--e-util/ename/e-address-western.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index 70979f82b8..e56a85ac2e 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-11 Iain Holmes <iain@helixcode.com>
+
+ * ename/e-address-western.c (e_address_western_parse): g_strconcat needs
+ to be NULL terminated or it goes funny.
+
Tue Sep 26 16:48:49 2000 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Added $(EXTRA_GNOME_CFLAGS).
diff --git a/e-util/ename/e-address-western.c b/e-util/ename/e-address-western.c
index 7ee9a831c9..1538e2a3ad 100644
--- a/e-util/ename/e-address-western.c
+++ b/e-util/ename/e-address-western.c
@@ -412,7 +412,7 @@ e_address_western_parse (const gchar *in_address)
eaw->country = g_strdup (lines[cntr]);
else {
gchar *temp;
- temp = g_strconcat (eaw->country, "\n", lines[cntr]);
+ temp = g_strconcat (eaw->country, "\n", lines[cntr], NULL);
g_free (eaw->country);
eaw->country = temp;
}
@@ -428,7 +428,7 @@ e_address_western_parse (const gchar *in_address)
}
else {
gchar *temp;
- temp = g_strconcat (eaw->extended, "\n", lines[cntr]);
+ temp = g_strconcat (eaw->extended, "\n", lines[cntr], NULL);
g_free (eaw->extended);
eaw->extended = temp;
}