commit | 6e3adf31b80a8167c26ef399a2191fed10e85e30 | [log] [tgz] |
---|---|---|
author | David Lawrence Ramsey <pooka109@gmail.com> | Wed Dec 28 10:22:05 2016 -0600 |
committer | Benno Schulenberg <bensberg@justemail.net> | Fri Jan 13 17:41:26 2017 +0100 |
tree | 5380d83667b4819b1e6d2735ac479d8bafd574ed | |
parent | c67c4312395c5e87f067c416ecd087924582c817 [diff] |
tweaks: let update_line() return the correct value on error If the given line is out of range of editwinrows, we don't display it at all, so we obviously don't display more than one line of it. Thus, the return value in this case should be zero, not one.