]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0477: block_editing errors out when using <enter> v9.1.0477
authorChristian Brabandt <cb@256bit.org>
Tue, 11 Jun 2024 18:30:14 +0000 (20:30 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 11 Jun 2024 18:37:59 +0000 (20:37 +0200)
commit1fb9eae5794c3f808468fbc2935c5144f9e0b5b1
tree80138299495f67c2edb41ed63074ce9fed8116a0
parent959c3c887b2e52c7141b2a09a53634481911b1b7
patch 9.1.0477: block_editing errors out when using <enter>

Problem:  block_editing errors out when using <enter>
          (Ali Rizvi-Santiago, after v9.1.0274)
Solution: Change ins_len from size_t to int so that the test
          if ins_len is negative actually works properly

Add a test, so that this doesn't regress.

fixes: #14960

Signed-off-by: Christian Brabandt <cb@256bit.org>
src/ops.c
src/testdir/test_visual.vim
src/version.c