mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 9.1.0843: too many strlen() calls in undo.c
Problem: too many strlen() calls in undo.c Solution: refactor code and remove strlen() calls, update test_undo.vim and close remaining open swap files (John Marriott) closes: #15995 Signed-off-by: John Marriott <basilisk@internode.on.net> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
39cd9061b1
commit
fd1a838d36
@@ -397,6 +397,8 @@ typedef struct {
|
||||
char_u *ul_line; // text of the line
|
||||
long ul_len; // length of the line including NUL, plus text
|
||||
// properties
|
||||
colnr_T ul_textlen; // length of the line excluding NUL and any text
|
||||
// properties
|
||||
} undoline_T;
|
||||
|
||||
typedef struct u_entry u_entry_T;
|
||||
|
Reference in New Issue
Block a user