… | |
… | |
722 | last_col = ncol; |
722 | last_col = ncol; |
723 | |
723 | |
724 | if (nlines > 0) |
724 | if (nlines > 0) |
725 | { |
725 | { |
726 | nlines += screen.cur.row - screen.bscroll; |
726 | nlines += screen.cur.row - screen.bscroll; |
|
|
727 | |
727 | if (nlines > 0 |
728 | if (nlines > 0 |
728 | && screen.tscroll == 0 |
729 | && screen.tscroll == 0 |
729 | && screen.bscroll == (nrow - 1)) |
730 | && screen.bscroll == (nrow - 1)) |
730 | { |
731 | { |
731 | /* _at least_ this many lines need to be scrolled */ |
732 | /* _at least_ this many lines need to be scrolled */ |
… | |
… | |
3136 | } |
3137 | } |
3137 | } |
3138 | } |
3138 | break; |
3139 | break; |
3139 | } |
3140 | } |
3140 | |
3141 | |
3141 | Old_Word_Selection_You_Die: |
|
|
3142 | if (dirn == DN) |
3142 | if (dirn == DN) |
3143 | col++; /* put us on one past the end */ |
3143 | col++; /* put us on one past the end */ |
3144 | |
3144 | |
3145 | /* Poke the values back in */ |
3145 | /* Poke the values back in */ |
3146 | ret->row = row; |
3146 | ret->row = row; |