diff options
author | Not Zed <NotZed@Ximian.com> | 2001-02-02 12:06:40 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-02-02 12:06:40 +0800 |
commit | a58c2446e7bf528b2a0119229a314cb6f6c22191 (patch) | |
tree | 781fdbbad5026c686fe550eb4b1ea26c3e28af8a /widgets | |
parent | 0c6b184aaa8e1ab1c0798c76ba809cffec3f4746 (diff) | |
download | gsoc2013-evolution-a58c2446e7bf528b2a0119229a314cb6f6c22191.tar gsoc2013-evolution-a58c2446e7bf528b2a0119229a314cb6f6c22191.tar.gz gsoc2013-evolution-a58c2446e7bf528b2a0119229a314cb6f6c22191.tar.bz2 gsoc2013-evolution-a58c2446e7bf528b2a0119229a314cb6f6c22191.tar.lz gsoc2013-evolution-a58c2446e7bf528b2a0119229a314cb6f6c22191.tar.xz gsoc2013-evolution-a58c2446e7bf528b2a0119229a314cb6f6c22191.tar.zst gsoc2013-evolution-a58c2446e7bf528b2a0119229a314cb6f6c22191.zip |
Dont overwrite the end of our bitmap array.
2001-02-02 Not Zed <NotZed@Ximian.com>
* e-table-selection-model.c (model_row_deleted): Dont overwrite
the end of our bitmap array.
svn path=/trunk/; revision=7944
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/table/e-table-selection-model.c | 3 |
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. */ |