… | |
… | |
917 | else |
917 | else |
918 | screen.cur.col = ncol - width; |
918 | screen.cur.col = ncol - width; |
919 | } |
919 | } |
920 | |
920 | |
921 | // nuke the character at this position, if required |
921 | // nuke the character at this position, if required |
922 | // due to wonderful coincidents everywhere else in this loop |
922 | // due to wonderful coincidences everywhere else in this loop |
923 | // we never have to check for overwriting a wide char itself, |
923 | // we never have to check for overwriting a wide char itself, |
924 | // only its tail. |
924 | // only its tail. |
925 | if (expect_false (line->t[screen.cur.col] == NOCHAR)) |
925 | if (expect_false (line->t[screen.cur.col] == NOCHAR)) |
926 | scr_kill_char (*line, screen.cur.col); |
926 | scr_kill_char (*line, screen.cur.col); |
927 | |
927 | |
… | |
… | |
2627 | void |
2627 | void |
2628 | rxvt_term::scr_dump (int fd) NOTHROW |
2628 | rxvt_term::scr_dump (int fd) NOTHROW |
2629 | { |
2629 | { |
2630 | int row, wrote; |
2630 | int row, wrote; |
2631 | unsigned int width, towrite; |
2631 | unsigned int width, towrite; |
2632 | char r1[] = "\n"; |
2632 | const char r1[] = "\n"; |
2633 | |
2633 | |
2634 | for (row = saveLines + top_row; |
2634 | for (row = saveLines + top_row; |
2635 | row < saveLines + nrow - 1; row++) |
2635 | row < saveLines + nrow - 1; row++) |
2636 | { |
2636 | { |
2637 | width = row_buf[row].l >= 0 ? row_buf[row].l |
2637 | width = row_buf[row].l >= 0 ? row_buf[row].l |