aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-tree-table-adapter.c
diff options
context:
space:
mode:
authorRichard Hult <rhult@codefactory.se>2001-04-04 08:29:51 +0800
committerChris Lahey <clahey@src.gnome.org>2001-04-04 08:29:51 +0800
commitd678d0b7b2f366ca5a76b8ad8f8f2d8519aad1eb (patch)
treea16aff135af6edf2bb959e4e7f861faaacd3a814 /widgets/table/e-tree-table-adapter.c
parent71452a5477aaeed8606fc864ab63246dc81eb698 (diff)
downloadgsoc2013-evolution-d678d0b7b2f366ca5a76b8ad8f8f2d8519aad1eb.tar.gz
gsoc2013-evolution-d678d0b7b2f366ca5a76b8ad8f8f2d8519aad1eb.tar.zst
gsoc2013-evolution-d678d0b7b2f366ca5a76b8ad8f8f2d8519aad1eb.zip
Fixed an off by one error.
2001-04-03 Richard Hult <rhult@codefactory.se> * e-tree-table-adapter.c (etta_proxy_node_inserted): Fixed an off by one error. svn path=/trunk/; revision=9157
Diffstat (limited to 'widgets/table/e-tree-table-adapter.c')
-rw-r--r--widgets/table/e-tree-table-adapter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/table/e-tree-table-adapter.c b/widgets/table/e-tree-table-adapter.c
index 90345f1f5f..330cecec3a 100644
--- a/widgets/table/e-tree-table-adapter.c
+++ b/widgets/table/e-tree-table-adapter.c
@@ -660,7 +660,7 @@ etta_proxy_node_inserted (ETreeModel *etm, ETreePath parent, ETreePath child, ET
children = e_tree_model_node_get_first_child(etta->priv->source, parent);
while (row != -1 &&
- row < parent_row + parent_node->num_visible_children &&
+ row <= parent_row + parent_node->num_visible_children &&
children != NULL &&
children == etta->priv->map_table[row]) {
children = e_tree_model_node_get_next(etta->priv->source, children);