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
This commit is contained in:
Christopher James Lahey
2001-02-11 05:54:56 +00:00
committed by Chris Lahey
parent c2f71c6730
commit 199ae6dbbb

View File

@ -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