forked from aniani/vim
patch 8.2.4858: K_SPECIAL may be escaped twice
Problem: K_SPECIAL may be escaped twice. Solution: Avoid double escaping. (closes #10340)
This commit is contained in:
@@ -6104,7 +6104,7 @@ replace_termcodes(
|
||||
#endif
|
||||
slen = trans_special(&src, result + dlen, FSK_KEYCODE
|
||||
| ((flags & REPTERM_NO_SIMPLIFY) ? 0 : FSK_SIMPLIFY),
|
||||
did_simplify);
|
||||
TRUE, did_simplify);
|
||||
if (slen)
|
||||
{
|
||||
dlen += slen;
|
||||
|
Reference in New Issue
Block a user