diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-08-27 23:32:14 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-08-27 23:32:14 +0800 |
commit | c4b24c895e0a351315b8dea294983bbaf2b8dfc1 (patch) | |
tree | 4b88d6651201c3cefbd5a6460d91566bd787649d /widgets/table/e-table-item.c | |
parent | 6fbbb872fe462d0bdebf4559f76e4baca174823c (diff) | |
download | gsoc2013-evolution-c4b24c895e0a351315b8dea294983bbaf2b8dfc1.tar.gz gsoc2013-evolution-c4b24c895e0a351315b8dea294983bbaf2b8dfc1.tar.zst gsoc2013-evolution-c4b24c895e0a351315b8dea294983bbaf2b8dfc1.zip |
Fixed this memmove to subtract the count as well as the row for the number
2001-08-27 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c (eti_table_model_rows_deleted): Fixed this
memmove to subtract the count as well as the row for the number of
rows to move.
svn path=/trunk/; revision=12482
Diffstat (limited to 'widgets/table/e-table-item.c')
-rw-r--r-- | widgets/table/e-table-item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index 4132eaf969..12ef309c7c 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -820,7 +820,7 @@ eti_table_model_rows_deleted (ETableModel *table_model, int row, int count, ETab eti->rows = e_table_model_row_count (eti->table_model); if (eti->height_cache) - memmove(eti->height_cache + row, eti->height_cache + row + count, (eti->rows - row) * sizeof(int)); + memmove(eti->height_cache + row, eti->height_cache + row + count, (eti->rows - row - count) * sizeof(int)); eti->needs_compute_height = 1; e_canvas_item_request_reflow (GNOME_CANVAS_ITEM (eti)); |