]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0615: Unnecessary STRLEN() in make_percent_swname() v9.1.0615
authorzeertzjq <zeertzjq@outlook.com>
Thu, 25 Jul 2024 18:58:42 +0000 (20:58 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 25 Jul 2024 18:58:42 +0000 (20:58 +0200)
commit242667ae142d9862a7bace82c58cb11c79fdab7a
treee46e81b339824a908e2b1e0530b58da37ee37ecb
parent4d68054c1e49b937a1aa9567196b97b36fe99c27
patch 9.1.0615: Unnecessary STRLEN() in make_percent_swname()

Problem:  Unnecessary STRLEN() in make_percent_swname()
Solution: Pass the end of "dir" to make_percent_swname()
          (zeertzjq)

closes: #15340

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/bufwrite.c
src/memline.c
src/proto/memline.pro
src/version.c