diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-06-02 16:14:47 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-06-02 16:14:47 +0800 |
commit | 85e4486c1c6ac2b8d60807117af8255d6daee61f (patch) | |
tree | f53a32d13d433f06ed6bc4c142b460e75bd3703d /widgets/e-table | |
parent | ef233d76ee4e653b1c9cc60cb342682e89a37f32 (diff) | |
download | gsoc2013-evolution-85e4486c1c6ac2b8d60807117af8255d6daee61f.tar gsoc2013-evolution-85e4486c1c6ac2b8d60807117af8255d6daee61f.tar.gz gsoc2013-evolution-85e4486c1c6ac2b8d60807117af8255d6daee61f.tar.bz2 gsoc2013-evolution-85e4486c1c6ac2b8d60807117af8255d6daee61f.tar.lz gsoc2013-evolution-85e4486c1c6ac2b8d60807117af8255d6daee61f.tar.xz gsoc2013-evolution-85e4486c1c6ac2b8d60807117af8255d6daee61f.tar.zst gsoc2013-evolution-85e4486c1c6ac2b8d60807117af8255d6daee61f.zip |
Fixed the multiple copies of rows in ETable bug.
2000-06-02 Christopher James Lahey <clahey@helixcode.com>
* e-table-sorted-variable.c: Fixed the multiple copies of rows in
ETable bug.
svn path=/trunk/; revision=3386
Diffstat (limited to 'widgets/e-table')
-rw-r--r-- | widgets/e-table/ChangeLog | 5 | ||||
-rw-r--r-- | widgets/e-table/e-table-sorted-variable.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog index b44074ee6a..ae4163f8ae 100644 --- a/widgets/e-table/ChangeLog +++ b/widgets/e-table/ChangeLog @@ -1,3 +1,8 @@ +2000-06-02 Christopher James Lahey <clahey@helixcode.com> + + * e-table-sorted-variable.c: Fixed the multiple copies of rows in + ETable bug. + 2000-06-01 Dan Winship <danw@helixcode.com> * e-table-group.c (e_table_group_key_press): diff --git a/widgets/e-table/e-table-sorted-variable.c b/widgets/e-table/e-table-sorted-variable.c index 7ea2eac04b..8c7e49cbbd 100644 --- a/widgets/e-table/e-table-sorted-variable.c +++ b/widgets/e-table/e-table-sorted-variable.c @@ -155,7 +155,7 @@ etsv_add (ETableSubsetVariable *etssv, i = 0; while (etsv_compare(etsv, etss->map_table[i], row) < 0) i++; - memmove(etss->map_table + i + 1, etss->map_table + i, etss->n_map - i); + memmove(etss->map_table + i + 1, etss->map_table + i, (etss->n_map - i) * sizeof(int)); } etss->map_table[i] = row; etss->n_map++; |