aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 6991e44b931..6b327c84290 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -1464,7 +1464,7 @@ pos_visible_p (struct window *w, ptrdiff_t charpos, int *x, int *y,
1464 if (top_y < window_top_y) 1464 if (top_y < window_top_y)
1465 visible_p = bottom_y > window_top_y; 1465 visible_p = bottom_y > window_top_y;
1466 else if (top_y < it.last_visible_y) 1466 else if (top_y < it.last_visible_y)
1467 visible_p = true; 1467 visible_p = 1;
1468 if (bottom_y >= it.last_visible_y 1468 if (bottom_y >= it.last_visible_y
1469 && it.bidi_p && it.bidi_it.scan_dir == -1 1469 && it.bidi_p && it.bidi_it.scan_dir == -1
1470 && IT_CHARPOS (it) < charpos) 1470 && IT_CHARPOS (it) < charpos)