diff options
author | Mike Kestner <mkestner@ximian.com> | 2002-12-14 13:31:07 +0800 |
---|---|---|
committer | Mike Kestner <mkestner@src.gnome.org> | 2002-12-14 13:31:07 +0800 |
commit | 2d400067209fc6bf0b2283e6013dea3ab1a4b296 (patch) | |
tree | 1708c13d1a977874bfa41f88b20a3a559c35f432 /widgets | |
parent | 02a2b0046f0c969bcaf6b1fecf68a6f001e8cd4b (diff) | |
download | gsoc2013-evolution-2d400067209fc6bf0b2283e6013dea3ab1a4b296.tar gsoc2013-evolution-2d400067209fc6bf0b2283e6013dea3ab1a4b296.tar.gz gsoc2013-evolution-2d400067209fc6bf0b2283e6013dea3ab1a4b296.tar.bz2 gsoc2013-evolution-2d400067209fc6bf0b2283e6013dea3ab1a4b296.tar.lz gsoc2013-evolution-2d400067209fc6bf0b2283e6013dea3ab1a4b296.tar.xz gsoc2013-evolution-2d400067209fc6bf0b2283e6013dea3ab1a4b296.tar.zst gsoc2013-evolution-2d400067209fc6bf0b2283e6013dea3ab1a4b296.zip |
valgrindage
2002-12-13 Mike Kestner <mkestner@ximian.com>
* e-table-item.c (eti_table_model_rows_deleted): valgrindage
svn path=/trunk/; revision=19119
Diffstat (limited to 'widgets')
-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 a8a80248e6..45068e52ef 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -1172,7 +1172,7 @@ eti_table_model_rows_deleted (ETableModel *table_model, int row, int count, ETab g_assert (row <= eti->rows); 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_unfreeze (eti); |