changeset 88847:1538d056ea25

(display_mode_element): Fix call of Fset_text_properties.
author Dave Love <fx@gnu.org>
date Tue, 16 Jul 2002 13:57:00 +0000
parents 8a17b9f646a3
children a55219c46b8c
files src/xdisp.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Thu Jul 11 23:16:17 2002 +0000
+++ b/src/xdisp.c	Tue Jul 16 13:57:00 2002 +0000
@@ -13608,7 +13608,8 @@
 		else
 		  {
 		    elt = Fcopy_sequence (elt);
-		    Fset_text_properties (0, Flength (elt), props, elt);
+		    Fset_text_properties (make_number (0), Flength (elt),
+					  props, elt);
 		    mode_line_proptrans_alist
 		      = Fcons (Fcons (elt, props),
 			       mode_line_proptrans_alist);