]> git.eshelyaron.com Git - emacs.git/commitdiff
(try_window): Fix mixing of Lisp_Object and int.
authorAndreas Schwab <schwab@suse.de>
Tue, 14 Apr 1998 13:12:18 +0000 (13:12 +0000)
committerAndreas Schwab <schwab@suse.de>
Tue, 14 Apr 1998 13:12:18 +0000 (13:12 +0000)
src/xdisp.c

index a6712aaf93251ca456a4521d941bc6c6c118e1c0..84a80d519a810fab18508a4a434d5c23535ee42b 100644 (file)
@@ -2497,7 +2497,8 @@ try_window (window, pos)
          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