aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index a8da5aa848e..84e585bbd1e 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -1346,7 +1346,8 @@ pos_visible_p (w, charpos, x, y, rtop, rbot, rowh, vpos)
1346 it2 = it; 1346 it2 = it;
1347 if (IT_CHARPOS (it) < ZV && FETCH_BYTE (IT_BYTEPOS (it)) != '\n') 1347 if (IT_CHARPOS (it) < ZV && FETCH_BYTE (IT_BYTEPOS (it)) != '\n')
1348 move_it_by_lines (&it, 1, 0); 1348 move_it_by_lines (&it, 1, 0);
1349 if (charpos < IT_CHARPOS (it)) 1349 if (charpos < IT_CHARPOS (it)
1350 || (it.what == IT_EOB && charpos == IT_CHARPOS (it)))
1350 { 1351 {
1351 visible_p = 1; 1352 visible_p = 1;
1352 move_it_to (&it2, charpos, -1, -1, -1, MOVE_TO_POS); 1353 move_it_to (&it2, charpos, -1, -1, -1, MOVE_TO_POS);