From 975d21ea0c2e677672dd24c91b12cad5a8153940 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 14 Apr 1998 13:12:18 +0000 Subject: [PATCH] (try_window): Fix mixing of Lisp_Object and int. --- src/xdisp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2