diff options
Diffstat (limited to 'widgets/e-table')
-rw-r--r-- | widgets/e-table/ChangeLog | 5 | ||||
-rw-r--r-- | widgets/e-table/e-table-header.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog index 9c979e5ea7..ad3b798140 100644 --- a/widgets/e-table/ChangeLog +++ b/widgets/e-table/ChangeLog @@ -1,3 +1,8 @@ +2000-03-19 Christopher James Lahey <clahey@helixcode.com> + + * e-table-header.c: Fixed a crashing bug when you close an + ETable. + 2000-03-13 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Fixed a crashing bug when you cancel an edit. diff --git a/widgets/e-table/e-table-header.c b/widgets/e-table/e-table-header.c index 8465f28567..8a646381e8 100644 --- a/widgets/e-table/e-table-header.c +++ b/widgets/e-table/e-table-header.c @@ -265,7 +265,7 @@ eth_do_remove (ETableHeader *eth, int idx, gboolean do_unref) gtk_object_unref (GTK_OBJECT (eth->columns [idx])); memmove (ð->columns [idx], ð->columns [idx+1], - sizeof (ETableCol *) * eth->col_count - idx); + sizeof (ETableCol *) * (eth->col_count - idx - 1)); eth->col_count--; } |