… | |
… | |
632 | // erase newly scrolled-in lines |
632 | // erase newly scrolled-in lines |
633 | for (int i = count; i--; ) |
633 | for (int i = count; i--; ) |
634 | { |
634 | { |
635 | // basically this is a slightly optimized scr_blank_screen_mem |
635 | // basically this is a slightly optimized scr_blank_screen_mem |
636 | // it is worth the effort on slower machines |
636 | // it is worth the effort on slower machines |
637 | line_t &l = ROW(row2 - i); |
637 | line_t &l = ROW(nrow - 1 - i); |
638 | |
638 | |
639 | scr_blank_line (l, 0, l.l, rstyle); |
639 | scr_blank_line (l, 0, l.l, rstyle); |
640 | |
640 | |
641 | l.l = 0; |
641 | l.l = 0; |
642 | l.f = 0; |
642 | l.f = 0; |