]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1222: using wrong length for last inserted string v9.1.1222
authorJohn Marriott <basilisk@internode.on.net>
Tue, 18 Mar 2025 19:49:01 +0000 (20:49 +0100)
committerChristian Brabandt <cb@256bit.org>
Tue, 18 Mar 2025 19:49:01 +0000 (20:49 +0100)
commit8ac0f73eb1e0e6128dd21eb294d12b83b615f05a
tree79dd3d0d5929e2a3656d3714d7a513b08beeebb5
parenta3a7d10bfb9547991e04bcf12d1391deb8060754
patch 9.1.1222: using wrong length for last inserted string

Problem:  using wrong length for last inserted string
          (Christ van Willegen, after v9.1.1212)
Solution: use the correct length in get_last_insert_save(), make
          get_last_insert() return a string_T (John Marriott)

closes: #16921

Signed-off-by: John Marriott <basilisk@internode.on.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/edit.c
src/proto/edit.pro
src/register.c
src/version.c