From: Richard M. Stallman Date: Sun, 1 Aug 1999 22:31:00 +0000 (+0000) Subject: (internal_equal): Fix overlay comparison. X-Git-Tag: emacs-pretest-21.0.90~7292 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e23f814f7016f0613a43315f61f98c546ad9c13d;p=emacs.git (internal_equal): Fix overlay comparison. --- 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;