aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-04-15 06:52:16 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-04-15 06:52:16 +0800
commita7c2eba660170e0299e99e5ef29e621bdf74d526 (patch)
tree99000304e89aad1e97e85e360f6bcbb008250021 /widgets/e-table
parentabfe42213932a77f350228651ea462302bc97987 (diff)
downloadgsoc2013-evolution-a7c2eba660170e0299e99e5ef29e621bdf74d526.tar
gsoc2013-evolution-a7c2eba660170e0299e99e5ef29e621bdf74d526.tar.gz
gsoc2013-evolution-a7c2eba660170e0299e99e5ef29e621bdf74d526.tar.bz2
gsoc2013-evolution-a7c2eba660170e0299e99e5ef29e621bdf74d526.tar.lz
gsoc2013-evolution-a7c2eba660170e0299e99e5ef29e621bdf74d526.tar.xz
gsoc2013-evolution-a7c2eba660170e0299e99e5ef29e621bdf74d526.tar.zst
gsoc2013-evolution-a7c2eba660170e0299e99e5ef29e621bdf74d526.zip
Make `e_table_construct()' work by passing the correct size argument
to `xmlParseMemory()'. svn path=/trunk/; revision=2442
Diffstat (limited to 'widgets/e-table')
-rw-r--r--widgets/e-table/ChangeLog5
-rw-r--r--widgets/e-table/e-table.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog
index 3bbbf0d67c..f4c80f8b0b 100644
--- a/widgets/e-table/ChangeLog
+++ b/widgets/e-table/ChangeLog
@@ -1,3 +1,8 @@
+2000-04-15 Ettore Perazzoli <ettore@helixcode.com>
+
+ * e-table.c (e_table_construct): Use `strlen (copy)' instead of
+ `strlen (copy) + 1' as the size argument for `xmlParseMemory()'.
+
2000-04-14 Miguel de Icaza <miguel@gnu.org>
* e-table.c, e-table.h: Switch the parent object to be a GtkTable.
diff --git a/widgets/e-table/e-table.c b/widgets/e-table/e-table.c
index 6906f3af84..d6b594d12f 100644
--- a/widgets/e-table/e-table.c
+++ b/widgets/e-table/e-table.c
@@ -823,7 +823,7 @@ e_table_construct (ETable *e_table, ETableHeader *full_header, ETableModel *etm,
char *copy;
copy = g_strdup (spec);
- xmlSpec = xmlParseMemory (copy, strlen(copy) + 1);
+ xmlSpec = xmlParseMemory (copy, strlen(copy));
et_real_construct (e_table, full_header, etm, xmlSpec);
xmlFreeDoc (xmlSpec);
g_free (copy);