aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/e-table-selection-model.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/table/e-table-selection-model.c b/widgets/table/e-table-selection-model.c
index 0f2c9cd7e4..e844ec1ae4 100644
--- a/widgets/table/e-table-selection-model.c
+++ b/widgets/table/e-table-selection-model.c
@@ -107,7 +107,8 @@ model_row_deleted(ETableModel *etm, int row, ETableSelectionModel *etsm)
for (i = box + 1; i < last; i++) {
etsm->selection[i] = (etsm->selection[i] << 1) | (etsm->selection[i + 1] >> 31);
}
- etsm->selection[i] = etsm->selection[i] << 1;
+ /* this over-runs our memory! */
+ /*etsm->selection[i] = etsm->selection[i] << 1; */
}
etsm->row_count --;
/* Remove the last word if not needed. */