From: Andreas Schwab Date: Tue, 14 Apr 1998 13:12:18 +0000 (+0000) Subject: (try_window): Fix mixing of Lisp_Object and int. X-Git-Tag: emacs-20.3~1541 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=975d21ea0c2e677672dd24c91b12cad5a8153940;p=emacs.git (try_window): Fix mixing of Lisp_Object and int. --- diff --git a/src/xdisp.c b/src/xdisp.c index a6712aaf932..84a80d519a8 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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