aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-10-30 17:23:37 +0800
committerChris Lahey <clahey@src.gnome.org>2001-10-30 17:23:37 +0800
commit6bf38a0ba9bc70423c228445de61d6cbf4f7bd60 (patch)
treeaa373de815df57ee7d25a014f88da86a943feeed /widgets/table
parenta8f66936574d191dafb5957706a00c9e8a0210fd (diff)
downloadgsoc2013-evolution-6bf38a0ba9bc70423c228445de61d6cbf4f7bd60.tar.gz
gsoc2013-evolution-6bf38a0ba9bc70423c228445de61d6cbf4f7bd60.tar.zst
gsoc2013-evolution-6bf38a0ba9bc70423c228445de61d6cbf4f7bd60.zip
Fix this to check from initial instead of initial + 1.
2001-10-30 Christopher James Lahey <clahey@ximian.com> * e-tree-sorted.c (check_last_access): Fix this to check from initial instead of initial + 1. svn path=/trunk/; revision=14445
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-tree-sorted.c2
1 files changed, 1 insertions, 1 deletions
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];