diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-03-11 18:42:56 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-03-11 18:42:56 +0100 |
commit | 38a3d6c9601b637a28f399059263300e9f65eba4 (patch) | |
tree | 2d4b7e5ed8d1676ef356563b20632dbd8d458dfb /src | |
parent | 1ef73e33c9414eb02c229d8234aafd9d481a8856 (diff) | |
download | vim-git-38a3d6c9601b637a28f399059263300e9f65eba4.tar.gz |
patch 8.0.0443: terminal width is set to 80 in test3v8.0.0443
Problem: Terminal width is set to 80 in test3.
Solution: Instead of setting 'columns' set 'wrapmargin' depending on
'columns.
Diffstat (limited to 'src')
-rw-r--r-- | src/testdir/test3.in | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/testdir/test3.in b/src/testdir/test3.in index 9e66436e7..c78a66ec1 100644 --- a/src/testdir/test3.in +++ b/src/testdir/test3.in @@ -970,7 +970,8 @@ break; /* end of AUTO */ STARTTEST -:set tw=0 wm=60 columns=80 noai fo=croq +:set tw=0 noai fo=croq +:let &wm = &columns - 20 /serious/e a about life, the universe, and the rest ENDTEST diff --git a/src/version.c b/src/version.c index 0f7b4e499..5a58f4317 100644 --- a/src/version.c +++ b/src/version.c @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 443, +/**/ 442, /**/ 441, |