Add missing check_boundary() calls in destructive backspace handler.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 15 Oct 2004 11:51:26 +0000 (11:51 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 15 Oct 2004 11:51:26 +0000 (11:51 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@4635 cda61777-01e9-0310-a592-d414129be87e

terminal.c

index c4d725a..9f0f061 100644 (file)
@@ -2464,6 +2464,8 @@ void term_out(Terminal *term)
            term->wrapnext = FALSE;
            /* destructive backspace might be disabled */
            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),
                              term->curs.x, &term->erase_char);
            }