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

Add missing check_boundary() calls in destructive backspace handler.

[originally from svn r4635]
This commit is contained in:
Simon Tatham 2004-10-15 11:51:26 +00:00
parent 833bcbb559
commit 5f05f03fb2

View File

@ -2464,6 +2464,8 @@ void term_out(Terminal *term)
term->wrapnext = FALSE; term->wrapnext = FALSE;
/* destructive backspace might be disabled */ /* destructive backspace might be disabled */
if (!term->cfg.no_dbackspace) { if (!term->cfg.no_dbackspace) {
check_boundary(term, term->curs.x, term->curs.y);
check_boundary(term, term->curs.x+1, term->curs.y);
copy_termchar(scrlineptr(term->curs.y), copy_termchar(scrlineptr(term->curs.y),
term->curs.x, &term->erase_char); term->curs.x, &term->erase_char);
} }