aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-03-05 01:30:23 +0800
committerChris Lahey <clahey@src.gnome.org>2000-03-05 01:30:23 +0800
commit23c59b7ee06133ed56850c68c132eccdbfe44b8f (patch)
tree36fc8cef9c4097097b92e43443e97f024081ea4a /widgets/table/e-table.c
parent7fc7a2644f6b6391ff478b253b05ab986fbd0965 (diff)
downloadgsoc2013-evolution-23c59b7ee06133ed56850c68c132eccdbfe44b8f.tar
gsoc2013-evolution-23c59b7ee06133ed56850c68c132eccdbfe44b8f.tar.gz
gsoc2013-evolution-23c59b7ee06133ed56850c68c132eccdbfe44b8f.tar.bz2
gsoc2013-evolution-23c59b7ee06133ed56850c68c132eccdbfe44b8f.tar.lz
gsoc2013-evolution-23c59b7ee06133ed56850c68c132eccdbfe44b8f.tar.xz
gsoc2013-evolution-23c59b7ee06133ed56850c68c132eccdbfe44b8f.tar.zst
gsoc2013-evolution-23c59b7ee06133ed56850c68c132eccdbfe44b8f.zip
Fixed a compile warning.
2000-03-04 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Fixed a compile warning. * e-table.c: Fixed a crash error. svn path=/trunk/; revision=2039
Diffstat (limited to 'widgets/table/e-table.c')
-rw-r--r--widgets/table/e-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index 7d1d9afd14..364ef3fb9c 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -704,7 +704,7 @@ e_table_construct (ETable *e_table, ETableHeader *full_header, ETableModel *etm,
char *copy;
copy = g_strdup(spec);
- xmlSpec = xmlParseMemory(copy, strlen(copy));
+ xmlSpec = xmlParseMemory(copy, strlen(copy) + 1);
et_real_construct(e_table, full_header, etm, xmlSpec);
g_free(copy);
}