X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=terminal.c;h=b167f3b6835119f64e49ca9fbee692de1b052684;hb=fb6a1e9d428d7df9644d2413b04f500fa6413b02;hp=54f86f8630a80cee77305d8bf99d755f34d43fb9;hpb=a2e01a5604abc80d49e433c7faa91fab052ce755;p=PuTTY.git 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);