]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0644: Unnecessary STRLEN() when applying mapping v9.1.0644
authorzeertzjq <zeertzjq@outlook.com>
Tue, 30 Jul 2024 17:17:56 +0000 (19:17 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 30 Jul 2024 17:17:56 +0000 (19:17 +0200)
commit74011dc1fa7bca6c901937173a42e0edce68e080
tree25ecd874200472f0587ca74d5f4b49deba23ca47
parentc4be066817d560c870f67f1593630cfb5b39dfc8
patch 9.1.0644: Unnecessary STRLEN() when applying mapping

Problem:  Unnecessary STRLEN() when applying mapping.
          (after v9.1.0642)
Solution: Use m_keylen and vim_strnsave().
          (zeertzjq)

closes: #15394

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