changeset 21534:7784f9b030a8

(try_window): Fix mixing of Lisp_Object and int.
author Andreas Schwab <schwab@suse.de>
date Tue, 14 Apr 1998 13:12:18 +0000
parents b7df83bf15ff
children f9043d661283
files src/xdisp.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Tue Apr 14 13:11:34 1998 +0000
+++ b/src/xdisp.c	Tue Apr 14 13:12:18 1998 +0000
@@ -2497,7 +2497,8 @@
 	  int invis = 0;
 #ifdef USE_TEXT_PROPERTIES
 	  Lisp_Object invis_prop;
-	  invis_prop = Fget_char_property (val.bufpos-1, Qinvisible, window);
+	  invis_prop = Fget_char_property (make_number (val.bufpos - 1),
+					   Qinvisible, window);
 	  invis = TEXT_PROP_MEANS_INVISIBLE (invis_prop);
 #endif