display: don't draw more chunks than the screen can hold
There is no need to always increase nrows by 1 or 2 -- an increase of 1 is only needed when the line that borders on the scrolled region needs to redrawn too: when this line was horizontally scrolled or when the mark is on. This fixes https://savannah.gnu.org/bugs/?50621 . Reported-by:David Lawrence Ramsey <pooka109@gmail.com>
Showing
+16 -23
Please register or sign in to comment