changeset 46381:ab2bd718aad6

* textprop.c (set_text_properties): Use STRING_SET_INTERVALS.
author Ken Raeburn <raeburn@raeburn.org>
date Mon, 15 Jul 2002 06:56:48 +0000
parents 48b292c584a6
children c844b7e4a42f
files src/textprop.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/textprop.c	Mon Jul 15 06:56:10 2002 +0000
+++ b/src/textprop.c	Mon Jul 15 06:56:48 2002 +0000
@@ -1311,7 +1311,7 @@
       if (! STRING_INTERVALS (object))
 	return Qt;
 
-      STRING_INTERVALS (object) = 0;
+      STRING_SET_INTERVALS (object, NULL_INTERVAL);
       return Qt;
     }