Made this faster in some cases.

2001-05-22  Christopher James Lahey  <clahey@ximian.com>

	* e-table-sorted.c (ets_proxy_model_rows_deleted): Made this
	faster in some cases.

svn path=/trunk/; revision=9937
This commit is contained in:
Christopher James Lahey
2001-05-22 20:22:36 +00:00
committed by Chris Lahey
parent 35f5f53a11
commit f384952f1b

View File

@ -230,7 +230,7 @@ ets_proxy_model_rows_deleted (ETableSubset *etss, ETableModel *source, int row,
gboolean shift;
int j;
shift = row == etss->n_map - 1;
shift = row == etss->n_map - count;
for (j = 0; j < count; j++) {
for (i = 0; i < etss->n_map; i++){