From 6bf38a0ba9bc70423c228445de61d6cbf4f7bd60 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 30 Oct 2001 09:23:37 +0000 Subject: Fix this to check from initial instead of initial + 1. 2001-10-30 Christopher James Lahey * e-tree-sorted.c (check_last_access): Fix this to check from initial instead of initial + 1. svn path=/trunk/; revision=14445 --- widgets/table/e-tree-sorted.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets/table') diff --git a/widgets/table/e-tree-sorted.c b/widgets/table/e-tree-sorted.c index 6300a36e7c..632fc650dd 100644 --- a/widgets/table/e-tree-sorted.c +++ b/widgets/table/e-tree-sorted.c @@ -195,7 +195,7 @@ check_last_access (ETreeSorted *ets, ETreePath corresponding) int initial = MAX (MIN (position, end), start); int i; - for (i = initial + 1; i < end; i++) { + for (i = initial; i < end; i++) { if (parent->children[i] && parent->children[i]->corresponding == corresponding) { d(g_print("Found last access %p at %p.", ets->priv->last_access, parent->children[i])); return parent->children[i]; -- cgit v1.2.3