changeset 25149:ee483f870bde

(internal_equal): Fix overlay comparison.
author Richard M. Stallman <rms@gnu.org>
date Sun, 01 Aug 1999 22:31:00 +0000
parents 01b59199fcbc
children 1c02364724aa
files src/fns.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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;