]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1072: 'diffopt' "linematch" cannot be used with {n} less than 10 v9.1.1072
authorzeertzjq <zeertzjq@outlook.com>
Mon, 3 Feb 2025 17:49:49 +0000 (18:49 +0100)
committerChristian Brabandt <cb@256bit.org>
Mon, 3 Feb 2025 17:49:49 +0000 (18:49 +0100)
commitccd7f454fcac2f99085d4f50e79c111c02741166
tree5148d675cf49acc5b7872e77705e292039bd111f
parent04d2a3fdc051d6a419dc0ea4de7a9640cefccd31
patch 9.1.1072: 'diffopt' "linematch" cannot be used with {n} less than 10

Problem:  'diffopt' "linematch" cannot be used with {n} less than 10
          digits (after v9.1.1022)
Solution: Fix off-by-one error when checking for digit (zeertzjq)

closes: #16577

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/diff.c
src/testdir/gen_opt_test.vim
src/version.c