(window_scroll_pixel_based, Frecenter): Use
authorKim F. Storm <storm@cua.dk>
Fri, 12 Nov 2004 14:26:53 +0000 (14:26 +0000)
committerKim F. Storm <storm@cua.dk>
Fri, 12 Nov 2004 14:26:53 +0000 (14:26 +0000)
commitf204989e2e4cfb5d3744c30efe3ef408fa80fe08
treef19902fd8f3e2ef7155f121a4af8f476933436aa
parentdb0c5a7d08be0a760d02831a788f7b6111f9496f
(window_scroll_pixel_based, Frecenter): Use
move_it_vertically_backward directly.
(Frecenter): Fix calculation of new start pos for negative arg.
Before, the new start pos was sometimes chosen too far back, so
the last line became only partially visible, and thus would be
either only semi-visible or automatically scrolled to the middle
of the window by redisplay.
src/window.c