Mercurial > emacs
diff src/fns.c @ 25149:ee483f870bde
(internal_equal): Fix overlay comparison.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Sun, 01 Aug 1999 22:31:00 +0000 |
| parents | 4df3b9d95d4a |
| children | ee30c32ea191 |
line wrap: on
line diff
--- a/src/fns.c Sun Aug 01 16:26:59 1999 +0000 +++ b/src/fns.c Sun Aug 01 22:31:00 1999 +0000 @@ -1744,9 +1744,9 @@ 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;
