summaryrefslogtreecommitdiff
path: root/src/fns.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1999-08-01 22:31:00 +0000
committerRichard M. Stallman <rms@gnu.org>1999-08-01 22:31:00 +0000
commite23f814f7016f0613a43315f61f98c546ad9c13d (patch)
treee9ede91059a2efe8120b2caac975c6dd93b6fb21 /src/fns.c
parent39db9c5c69a5e7d10e583d64743c00045f0d1467 (diff)
downloademacs-e23f814f7016f0613a43315f61f98c546ad9c13d.tar.gz
(internal_equal): Fix overlay comparison.
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c4
1 files 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;