1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 05:01:02 -08:00

(pos_visible_p): Adjust X value if window is hscrolled.

This commit is contained in:
Kim F. Storm 2005-08-17 14:59:41 +00:00
parent fbe13428a8
commit 69036b87bb

View file

@ -1347,6 +1347,9 @@ pos_visible_p (w, charpos, x, y, rtop, rbot, exact_mode_line_heights_p)
current_header_line_height = current_mode_line_height = -1;
if (visible_p && w->hscroll > 0)
*x -= w->hscroll;
return visible_p;
}