commit | 9c2e270b3efa10e09355d58eb39255356a58101a | [log] [tgz] |
---|---|---|
author | Benno Schulenberg <bensberg@justemail.net> | Fri Oct 28 10:50:06 2016 +0200 |
committer | Benno Schulenberg <bensberg@justemail.net> | Fri Oct 28 10:50:06 2016 +0200 |
tree | 50e01ee948d9d2295a868accf6f37f171ae6d194 | |
parent | 0eef5610eb041c6bef773058072519e0f5d1423f [diff] |
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.