changeset 3858:e07d474bdba9

(Fremove_text_properties, Fadd_text_properties): Really do next_interval when skipping the first interval.
author Richard M. Stallman <rms@gnu.org>
date Mon, 21 Jun 1993 19:37:49 +0000
parents ef8b4ed0de91
children 7e2410ba8e41
files src/textprop.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/textprop.c	Mon Jun 21 06:59:02 1993 +0000
+++ b/src/textprop.c	Mon Jun 21 19:37:49 1993 +0000
@@ -643,6 +643,7 @@
 	  if (got >= len)
 	    return Qnil;
 	  len -= got;
+	  i = next_interval (i);
 	}
       else
 	{
@@ -815,6 +816,7 @@
 	  if (got >= len)
 	    return Qnil;
 	  len -= got;
+	  i = next_interval (i);
 	}
       /* Split away the beginning of this interval; what we don't
 	 want to modify.  */