aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-02-11 13:54:56 +0800
committerChris Lahey <clahey@src.gnome.org>2001-02-11 13:54:56 +0800
commit199ae6dbbbd9a63f7c475ea0504873d49a67b0da (patch)
tree780e708f1c0c9434aba9654ea1f3de57d7e5a412 /widgets/table
parentc2f71c673069ee34a9e2886eb9e80e01ede452c1 (diff)
downloadgsoc2013-evolution-199ae6dbbbd9a63f7c475ea0504873d49a67b0da.tar.gz
gsoc2013-evolution-199ae6dbbbd9a63f7c475ea0504873d49a67b0da.tar.zst
gsoc2013-evolution-199ae6dbbbd9a63f7c475ea0504873d49a67b0da.zip
Fix selection so that changing a model row equal to 31 mod 32 works.
2001-02-11 Christopher James Lahey <clahey@ximian.com> * 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
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-table-selection-model.c2
1 files changed, 1 insertions, 1 deletions
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