Mercurial > emacs
diff src/xdisp.c @ 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 | fa9ff387d260 |
children | c423e8929f69 |
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