aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-selection-model.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-07-27 07:01:48 +0800
committerChris Lahey <clahey@src.gnome.org>2000-07-27 07:01:48 +0800
commit0adf2e8584b9559fdaf185d04db2196c60949ced (patch)
treed8ffc26e24dc7de0a25bd5687e56af9d20fe5b2b /widgets/table/e-table-selection-model.c
parenta8d433b4b89585bc9a1326f0f98c3fa91d3fc71f (diff)
downloadgsoc2013-evolution-0adf2e8584b9559fdaf185d04db2196c60949ced.tar
gsoc2013-evolution-0adf2e8584b9559fdaf185d04db2196c60949ced.tar.gz
gsoc2013-evolution-0adf2e8584b9559fdaf185d04db2196c60949ced.tar.bz2
gsoc2013-evolution-0adf2e8584b9559fdaf185d04db2196c60949ced.tar.lz
gsoc2013-evolution-0adf2e8584b9559fdaf185d04db2196c60949ced.tar.xz
gsoc2013-evolution-0adf2e8584b9559fdaf185d04db2196c60949ced.tar.zst
gsoc2013-evolution-0adf2e8584b9559fdaf185d04db2196c60949ced.zip
Fixed the model/view row confusion.
2000-07-26 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Fixed the model/view row confusion. * e-table-selection-model.c: Changed one expression to use a #define properly. svn path=/trunk/; revision=4371
Diffstat (limited to 'widgets/table/e-table-selection-model.c')
-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 35e0cb13aa..f896e37eaa 100644
--- a/widgets/table/e-table-selection-model.c
+++ b/widgets/table/e-table-selection-model.c
@@ -65,7 +65,7 @@ model_row_inserted(ETableModel *etm, int row, ETableSelectionModel *etsm)
}
/* The box is the word that our row is in. */
- box = row >> 5;
+ box = BOX(row);
/* Shift all words to the right of our box right one bit. */
for (i = etsm->row_count >> 5; i > box; i--) {
etsm->selection[i] = (etsm->selection[i] >> 1) | (etsm->selection[i - 1] << 31);