diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 3cc42ecdb28..9b5b7edf035 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -1347,6 +1347,9 @@ 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) | ||
| 1351 | *x -= w->hscroll; | ||
| 1352 | |||
| 1350 | return visible_p; | 1353 | return visible_p; |
| 1351 | } | 1354 | } |
| 1352 | 1355 | ||