Mercurial > vim
comparison src/version.c @ 14579:23d6d9e9ae3e v8.1.0303
patch 8.1.0303: line2byte() is wrong for last line with 'noeol'
commit https://github.com/vim/vim/commit/c26f7c60532a37a2bf0a5e69aa81081b440dfc38
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 20 22:53:04 2018 +0200
patch 8.1.0303: line2byte() is wrong for last line with 'noeol'
Problem: line2byte() is wrong for last line with 'noeol' and 'nofixeol'.
Solution: Fix off-by-one error. (Shane Harper, closes https://github.com/vim/vim/issues/3351)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 20 Aug 2018 23:00:06 +0200 |
parents | 33d751f40e4c |
children | bb02e9e33026 |
comparison
equal
deleted
inserted
replaced
14578:4e22895e5442 | 14579:23d6d9e9ae3e |
---|---|
792 NULL | 792 NULL |
793 }; | 793 }; |
794 | 794 |
795 static int included_patches[] = | 795 static int included_patches[] = |
796 { /* Add new patch number below this line */ | 796 { /* Add new patch number below this line */ |
797 /**/ | |
798 303, | |
797 /**/ | 799 /**/ |
798 302, | 800 302, |
799 /**/ | 801 /**/ |
800 301, | 802 301, |
801 /**/ | 803 /**/ |