softwrap: initialize 'editwincols' early, for computing the number of wraps
When giving a line number on the command line, do_gotolinecolumn() needs to know the width of the screen to be able to (roughly) place the target line in the center of the screen. This fixes https://savannah.gnu.org/bugs/?49462.
Showing
+2 -0
Please register or sign in to comment