Mercurial > emacs
changeset 65160:b5106d08c7ec
(pos_visible_p): Yet another int/Lisp_Object mixup (YAILOM).
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Fri, 26 Aug 2005 15:56:48 +0000 |
parents | 16af4b07ce7a |
children | 451eb4a93201 |
files | src/xdisp.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Fri Aug 26 15:51:54 2005 +0000 +++ b/src/xdisp.c Fri Aug 26 15:56:48 2005 +0000 @@ -1347,8 +1347,8 @@ current_header_line_height = current_mode_line_height = -1; - if (visible_p && w->hscroll > 0) - *x -= w->hscroll; + if (visible_p && XFASTINT (w->hscroll) > 0) + *x -= XFASTINT (w->hscroll); return visible_p; }