changeset 43878:558f4f145d78

(display_mode_element): Fix int/Lisp_Object mixup.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 13 Mar 2002 14:16:15 +0000
parents f59c9255134f
children a5c11e9a7c20
files src/xdisp.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Wed Mar 13 13:41:39 2002 +0000
+++ b/src/xdisp.c	Wed Mar 13 14:16:15 2002 +0000
@@ -13640,7 +13640,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);