diff options
Diffstat (limited to 'widgets/table/e-table-header.c')
-rw-r--r-- | widgets/table/e-table-header.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/table/e-table-header.c b/widgets/table/e-table-header.c index 8465f28567..8a646381e8 100644 --- a/widgets/table/e-table-header.c +++ b/widgets/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--; } |