aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2005-08-26 15:56:48 +0000
committerStefan Monnier2005-08-26 15:56:48 +0000
commitd182d87ccb4dc7b1ec4a4af15304eb15ce982cb5 (patch)
tree810b452eaffb67092c25aba771beef55d354ea4a /src
parent6fe57d11c35058669df45fe8ba682090611c2125 (diff)
downloademacs-d182d87ccb4dc7b1ec4a4af15304eb15ce982cb5.tar.gz
emacs-d182d87ccb4dc7b1ec4a4af15304eb15ce982cb5.zip
(pos_visible_p): Yet another int/Lisp_Object mixup (YAILOM).
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 5306533dd59..f81dfb6755a 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -1347,8 +1347,8 @@ pos_visible_p (w, charpos, x, y, rtop, rbot, exact_mode_line_heights_p)
1347 1347
1348 current_header_line_height = current_mode_line_height = -1; 1348 current_header_line_height = current_mode_line_height = -1;
1349 1349
1350 if (visible_p && w->hscroll > 0) 1350 if (visible_p && XFASTINT (w->hscroll) > 0)
1351 *x -= w->hscroll; 1351 *x -= XFASTINT (w->hscroll);
1352 1352
1353 return visible_p; 1353 return visible_p;
1354} 1354}