aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/table/e-table-item.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index 45068e52ef..a8a80248e6 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -1172,7 +1172,7 @@ eti_table_model_rows_deleted (ETableModel *table_model, int row, int count, ETab
g_assert (row <= eti->rows);
if (eti->height_cache) {
- memmove(eti->height_cache + row, eti->height_cache + row + count, (eti->rows - row - count) * sizeof(int));
+ memmove(eti->height_cache + row, eti->height_cache + row + count, (eti->rows - row) * sizeof(int));
}
eti_unfreeze (eti);