mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-09 23:28:06 -05:00
Fix Windows redraw problem on RH half of wrapped lines. (term_paint
was checking whether lattr == LATTR_NORM, where it should have been checking (lattr & LATTR_MODE) to mask off LATTR_WRAPPED et al. [originally from svn r4627]
This commit is contained in:
parent
e49ce5559b
commit
8d7edeafd3
@ -4665,7 +4665,7 @@ void term_paint(Terminal *term, Context ctx,
|
||||
if (bottom >= term->rows) bottom = term->rows-1;
|
||||
|
||||
for (i = top; i <= bottom && i < term->rows; i++) {
|
||||
if (term->disptext[i]->lattr == LATTR_NORM)
|
||||
if ((term->disptext[i]->lattr & LATTR_MODE) == LATTR_NORM)
|
||||
for (j = left; j <= right && j < term->cols; j++)
|
||||
term->disptext[i]->chars[j].attr = ATTR_INVALID;
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user