… | |
… | |
644 | |
644 | |
645 | top_row = max (top_row - count, -saveLines); |
645 | top_row = max (top_row - count, -saveLines); |
646 | |
646 | |
647 | // sever bottommost line |
647 | // sever bottommost line |
648 | { |
648 | { |
649 | line_t &l = ROW(row2 - 1); |
649 | line_t &l = ROW(row2); |
650 | l.is_longer (0); |
650 | l.is_longer (0); |
651 | l.touch (); |
651 | l.touch (); |
652 | } |
652 | } |
653 | |
653 | |
654 | // scroll everything up 'count' lines |
654 | // scroll everything up 'count' lines |
… | |
… | |
761 | for (int row = 0; row < rows; row++) |
761 | for (int row = 0; row < rows; row++) |
762 | ROW(row1 + row) = temp_buf [row]; |
762 | ROW(row1 + row) = temp_buf [row]; |
763 | |
763 | |
764 | // sever bottommost line |
764 | // sever bottommost line |
765 | { |
765 | { |
766 | line_t &l = ROW(row2 - 1); |
766 | line_t &l = ROW(row2); |
767 | l.is_longer (0); |
767 | l.is_longer (0); |
768 | l.touch (); |
768 | l.touch (); |
769 | } |
769 | } |
770 | |
770 | |
771 | } |
771 | } |