aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Möllmann2022-09-28 12:10:30 +0200
committerGerd Möllmann2022-09-28 12:10:30 +0200
commit8173a292e7366beff0279480cbd2f73bf2357568 (patch)
treec485410308460930f481ce5dfad130ac61ea7d01 /src
parent409327ff68f9ccdc8099f6a2ba2fee76abaaab70 (diff)
downloademacs-8173a292e7366beff0279480cbd2f73bf2357568.tar.gz
emacs-8173a292e7366beff0279480cbd2f73bf2357568.zip
Fix last change
Diffstat (limited to 'src')
-rw-r--r--src/itree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/itree.c b/src/itree.c
index ab734c3c18c..a6439970626 100644
--- a/src/itree.c
+++ b/src/itree.c
@@ -281,7 +281,7 @@ interval_tree_insert (struct interval_tree *tree, struct interval_node *node)
281 eassert (node && node->begin <= node->end && node != &tree->null); 281 eassert (node && node->begin <= node->end && node != &tree->null);
282 282
283 struct interval_node *parent = &tree->null; 283 struct interval_node *parent = &tree->null;
284 struct interval_node *child = &tree->null; 284 struct interval_node *child = tree->root;
285 ptrdiff_t offset = 0; 285 ptrdiff_t offset = 0;
286 286
287 /* Find the insertion point, accumulate node's offset and update 287 /* Find the insertion point, accumulate node's offset and update