From: Pip Cet Date: Mon, 5 Aug 2024 21:47:57 +0000 (+0000) Subject: Fix typo in pdumper.c X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=36ec22688f43fe7d72cfd39bd548041eb72e26fe;p=emacs.git Fix typo in pdumper.c * src/pdumper.c (dump_interval_node): Call 'dump_field_fixup_later' with the correct arguments. Discovered by Danny McClanahan. (cherry picked from commit e7109dfd9c15312d20582efdde8c929c9a65282a) --- diff --git a/src/pdumper.c b/src/pdumper.c index 53bddf91f04..0b8dab3a734 100644 --- a/src/pdumper.c +++ b/src/pdumper.c @@ -2136,9 +2136,9 @@ dump_interval_node (struct dump_context *ctx, struct itree_node *node) if (node->parent) dump_field_fixup_later (ctx, &out, node, &node->parent); if (node->left) - dump_field_fixup_later (ctx, &out, node, &node->parent); + dump_field_fixup_later (ctx, &out, node, &node->left); if (node->right) - dump_field_fixup_later (ctx, &out, node, &node->parent); + dump_field_fixup_later (ctx, &out, node, &node->right); DUMP_FIELD_COPY (&out, node, begin); DUMP_FIELD_COPY (&out, node, end); DUMP_FIELD_COPY (&out, node, limit);