Fix scrolling back with scroll-down-aggressively.
commitfd738ca513341c0949c11af1c9add77529aeb63e
authorEli Zaretskii <eliz@gnu.org>
Sun, 27 Mar 2011 20:01:46 +0000 (27 22:01 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 27 Mar 2011 20:01:46 +0000 (27 22:01 +0200)
treec8cd9a412c26c36939b7559d658d38a68ab99aae
parent3b2c5ab1f0714b26e760a4816eb1c24eefdddbd2
Fix scrolling back with scroll-down-aggressively.

 src/xdisp.c (try_scrolling): Clean up the case of PT below the
 margin at bottom of window: scroll_max can no longer be INT_MAX.
 (redisplay_window): Find character position of margin and use
 that, rather than adding margin to PT.
src/ChangeLog
src/xdisp.c