diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-08-11 23:15:38 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-08-11 23:16:10 +0200 |
commit | 7e0bae024d4c1673cff31763227ad52b936fa56f (patch) | |
tree | f76335fcdc8bd03dc55fbefe671dd5729021320d /src/clientserver.c | |
parent | cd4e4e169ab3ff0b9315e5bc16d5ba490ee251ff (diff) |
patch 9.0.1687: mapset() not properly handling script IDv9.0.1687
Problem: mapset() not properly handling script ID
Solution: replace_termcodes() may accept a script ID
closes: #12699
closes: #12697
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'src/clientserver.c')
-rw-r--r-- | src/clientserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clientserver.c b/src/clientserver.c index 400a4ad3eb..cfc0ab6613 100644 --- a/src/clientserver.c +++ b/src/clientserver.c @@ -34,7 +34,7 @@ server_to_input_buf(char_u *str) // The last but one parameter of replace_termcodes() is TRUE so that the // <lt> sequence is recognised - needed for a real backslash. p_cpo = (char_u *)"Bk"; - str = replace_termcodes(str, &ptr, REPTERM_DO_LT, NULL); + str = replace_termcodes(str, &ptr, 0, REPTERM_DO_LT, NULL); p_cpo = cpo_save; if (*ptr != NUL) // trailing CTRL-V results in nothing |