]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0997: too many strlen() calls in drawscreen.c v9.1.0997
authorJohn Marriott <basilisk@internode.on.net>
Wed, 8 Jan 2025 19:10:59 +0000 (20:10 +0100)
committerChristian Brabandt <cb@256bit.org>
Wed, 8 Jan 2025 19:10:59 +0000 (20:10 +0100)
commita21240b97debea2e087aee6ad1488b5f075d1259
tree46a4a6980310e0a5dcf4911e56c4e8f17aa6c98d
parent8ab1819df625354f6cc9b36cb46989e7b7c9ebae
patch 9.1.0997: too many strlen() calls in drawscreen.c

Problem:  too many strlen() calls in drawscreen.c
Solution: refactor drawscreen.c and remove calls to strlen(),
          make get_keymap_str() (in screen.c) return string length
          instead of TRUE/FALSE (John Marriott).

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