(window_scroll_pixel_based): Fix scrolling in the wrong
commite856c2162b0b024acf8dd316c5e47b3f938a0fb1
authorKim F. Storm <storm@cua.dk>
Mon, 24 Jan 2005 13:22:29 +0000 (24 13:22 +0000)
committerKim F. Storm <storm@cua.dk>
Mon, 24 Jan 2005 13:22:29 +0000 (24 13:22 +0000)
tree65fd8269fdbaf1759b3e10524be7809293805ede
parent6f67f013b6238a7c0b9a6904eea8cd912aa62d2e
(window_scroll_pixel_based): Fix scrolling in the wrong
direction if window height was smaller than next-screen-context-lines.
Now always scroll at least one line in the requested direction.
Ensure that we actually do scroll backwards when requested to do so.
src/window.c