1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Terminal fix from RDB: probably didn't mean to compare a Y value

with a column count!

[originally from svn r1133]
This commit is contained in:
Simon Tatham 2001-05-19 11:33:03 +00:00
parent df6c9ab083
commit c1f41f9822

View File

@ -745,7 +745,7 @@ static void erase_lots(int line_only, int from_begin, int to_end)
ldata = lineptr(start.y);
while (poslt(start, end)) {
if (start.y == cols && !erase_lattr)
if (start.x == cols && !erase_lattr)
ldata[start.x] &= ~LATTR_WRAPPED;
else
ldata[start.x] = erase_char;