tweaks: rename a variable and adjust some types in edit_scroll()

Scrolling works on rows, not on lines.  Accordingly, rename the nlines
variable to nrows.  And rows should be of the type int, not ssize_t.
2 files changed