From 8ceabe903d3305c0a14836a2b021e92bfbf4a429 Mon Sep 17 00:00:00 2001 From: simon Date: Thu, 30 Jan 2003 13:39:24 +0000 Subject: [PATCH] Yet more fallout from the 16-colour changes. I think by this time these fiddly little changes are no longer bugs I introduced recently, they're bugs that have been around all along and I've only just smoked out by altering the ATTR_* definitions. git-svn-id: svn://svn.tartarus.org/sgt/putty@2754 cda61777-01e9-0310-a592-d414129be87e --- terminal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal.c b/terminal.c index 8736a293..7a21eeed 100644 --- a/terminal.c +++ b/terminal.c @@ -476,7 +476,7 @@ void term_size(Terminal *term, int newrows, int newcols, int newsavelines) line[0] = newcols; for (j = 0; j < newcols; j++) line[j + 1] = ERASE_CHAR; - line[newcols] = LATTR_NORM; + line[newcols + 1] = LATTR_NORM; } addpos234(term->screen, line, 0); } -- 2.11.0