X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/7148eaa3026999ec037563bce039c3d6577b3ca2..9a6ebcc92bba00a39a1f54c7c4c7b6dcf8dfd972:/terminal.c diff --git a/terminal.c b/terminal.c index 54f86f86..b167f3b6 100644 --- a/terminal.c +++ b/terminal.c @@ -2882,6 +2882,7 @@ static void term_out(Terminal *term) else if (term->curs.y < term->rows - 1) term->curs.y++; term->curs.x = 0; + cline = scrlineptr(term->curs.y); /* Now we must check_boundary again, of course. */ check_boundary(term, term->curs.x, term->curs.y); check_boundary(term, term->curs.x+2, term->curs.y);