diff options
Diffstat (limited to 'widgets/e-table')
-rw-r--r-- | widgets/e-table/ChangeLog | 5 | ||||
-rw-r--r-- | widgets/e-table/e-table.c | 2 |
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); |