From 199ae6dbbbd9a63f7c475ea0504873d49a67b0da Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Sun, 11 Feb 2001 05:54:56 +0000 Subject: Fix selection so that changing a model row equal to 31 mod 32 works. 2001-02-11 Christopher James Lahey * e-table-selection-model.c (change_one_row): Fix selection so that changing a model row equal to 31 mod 32 works. svn path=/trunk/; revision=8170 --- widgets/table/e-table-selection-model.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets/table') diff --git a/widgets/table/e-table-selection-model.c b/widgets/table/e-table-selection-model.c index e844ec1ae4..636c3a4f32 100644 --- a/widgets/table/e-table-selection-model.c +++ b/widgets/table/e-table-selection-model.c @@ -411,7 +411,7 @@ change_one_row(ETableSelectionModel *selection, int row, gboolean grow) int i; i = BOX(row); - OPERATE(selection, i, BITMASK_LEFT(row) | BITMASK_RIGHT(row + 1), grow); + OPERATE(selection, i, ~BITMASK(row), grow); } static void -- cgit v1.2.3