From e23f814f7016f0613a43315f61f98c546ad9c13d Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 1 Aug 1999 22:31:00 +0000 Subject: [PATCH] (internal_equal): Fix overlay comparison. --- src/fns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fns.c b/src/fns.c index ad55fdd699e..2f97964b26e 100644 --- a/src/fns.c +++ b/src/fns.c @@ -1744,9 +1744,9 @@ internal_equal (o1, o2, depth) return 0; if (OVERLAYP (o1)) { - if (!internal_equal (OVERLAY_START (o1), OVERLAY_START (o1), + if (!internal_equal (OVERLAY_START (o1), OVERLAY_START (o2), depth + 1) - || !internal_equal (OVERLAY_END (o1), OVERLAY_END (o1), + || !internal_equal (OVERLAY_END (o1), OVERLAY_END (o2), depth + 1)) return 0; o1 = XOVERLAY (o1)->plist; -- 2.39.5