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.
Showing
+2 -1
Please register or sign in to comment