changeset 8962:722763fed8ce

(Fget_char_property): Pass new arg to overlays_at. (NULL): Define if not defined.
author Richard M. Stallman <rms@gnu.org>
date Wed, 21 Sep 1994 06:25:26 +0000
parents 940ca63c26c8
children 286aacffb920
files src/textprop.c
diffstat 1 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/textprop.c	Wed Sep 21 06:04:20 1994 +0000
+++ b/src/textprop.c	Wed Sep 21 06:25:26 1994 +0000
@@ -22,6 +22,10 @@
 #include "intervals.h"
 #include "buffer.h"
 #include "window.h"
+
+#ifndef NULL
+#define NULL (void *)0
+#endif
 
 
 /* NOTES:  previous- and next- property change will have to skip
@@ -543,7 +547,8 @@
       len = 40;
       overlay_vec = (Lisp_Object *) alloca (len * sizeof (Lisp_Object));
 
-      noverlays = overlays_at (posn, 0, &overlay_vec, &len, &next_overlay);
+      noverlays = overlays_at (posn, 0, &overlay_vec, &len,
+			       &next_overlay, NULL);
 
       /* If there are more than 40,
 	 make enough space for all, and try again.  */
@@ -551,7 +556,8 @@
 	{
 	  len = noverlays;
 	  overlay_vec = (Lisp_Object *) alloca (len * sizeof (Lisp_Object));
-	  noverlays = overlays_at (posn, 0, &overlay_vec, &len, &next_overlay);
+	  noverlays = overlays_at (posn, 0, &overlay_vec, &len,
+				   &next_overlay, NULL);
 	}
       noverlays = sort_overlays (overlay_vec, noverlays, w);