From: Simon Tatham Date: Thu, 30 Jan 2003 13:39:24 +0000 (+0000) Subject: Yet more fallout from the 16-colour changes. I think by this time X-Git-Tag: 0.54~447 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=bcfa137c21614599d2c4dd54acd03798bb980b13;p=PuTTY.git 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. [originally from svn r2754] --- 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); }