… | … | ||
---|---|---|---|
1567 | rxvt_term::view_start (int newval = 1) | 1567 | rxvt_term::view_start (int newval = 1) |
1568 | PROTOTYPE: $;$ | 1568 | PROTOTYPE: $;$ |
1569 | CODE: | 1569 | CODE: |
1570 | { | 1570 | { |
1571 | RETVAL = THIS->view_start; | 1571 | RETVAL = THIS->view_start; |
1572 | 1572 | if (items > 1) | |
1573 | if (newval <= 0) | ||
1574 | THIS->scr_changeview (max (newval, THIS->top_row)); | 1573 | THIS->scr_changeview (newval); |
1575 | } | 1574 | } |
1576 | OUTPUT: | 1575 | OUTPUT: |
1577 | RETVAL | 1576 | RETVAL |
1578 | 1577 | ||
1579 | void | 1578 | void |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |