Yet more fallout from the 16-colour changes. I think by this time
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 30 Jan 2003 13:39:24 +0000 (13:39 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 30 Jan 2003 13:39:24 +0000 (13:39 +0000)
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

index 8736a29..7a21eee 100644 (file)
@@ -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);
     }