commit | 493fbe4abee660d30b4f2aef87b754b0a720213c | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Mar 17 17:16:12 2019 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Mar 17 17:16:12 2019 +0100 |
tree | c3ac9eaa2480b0dd117a4ac71cc2e213a543c6b2 | |
parent | 26967617a30e55aedc98b8f14b841d88469abd0e [diff] |
patch 8.1.1017: off-by-one error in filetype detection Problem: Off-by-one error in filetype detection. Solution: Also check the last line of the file.
diff --git a/src/version.c b/src/version.c index ff3628a..a49f6fb 100644 --- a/src/version.c +++ b/src/version.c
@@ -780,6 +780,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1017, +/**/ 1016, /**/ 1015,