]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1263: string length wrong in get_last_inserted_save() v9.1.1263
authorChrist van Willegen <cvwillegen@gmail.com>
Sun, 30 Mar 2025 13:26:01 +0000 (15:26 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 30 Mar 2025 13:26:01 +0000 (15:26 +0200)
commit583f5aee96940c29ba17ffb87f1ddf56741b72ba
tree921d7024560bc7a09aa3e2a46c80b127233a3ea8
parentf13c8561544dad4f82b7f4f71041d35f55b5feaa
patch 9.1.1263: string length wrong in get_last_inserted_save()

Problem:  string length wrong in get_last_inserted_save()
          (after v9.1.1222)
Solution: when removing trailing ESC, also decrease the string length
          (Christ van Willegen)

closes: #16961

Signed-off-by: Christ van Willegen <cvwillegen@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/edit.c
src/version.c