commit | 3679c17917d7ff22e836982c81e5816bd07451dd | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Nov 22 22:22:11 2017 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Nov 22 22:22:11 2017 +0100 |
tree | 9dd557f0dab8d270837a6be109d2612ea7219f9f | |
parent | a2a80162deb1e96e16b097dfe48b61b6eb0824bf [diff] [blame] |
patch 8.0.1331: possible crash when window can be zero lines high Problem: Possible crash when window can be zero lines high. (Joseph Dornisch) Solution: Only set w_fraction if the window is at least two lines high.
diff --git a/src/version.c b/src/version.c index ebc57ed..cda1ef3 100644 --- a/src/version.c +++ b/src/version.c
@@ -772,6 +772,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1331, +/**/ 1330, /**/ 1329,