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/if_ole.cpp | |
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/if_ole.cpp')
-rw-r--r-- | src/if_ole.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_ole.cpp b/src/if_ole.cpp index f347387a90..d191010cd0 100644 --- a/src/if_ole.cpp +++ b/src/if_ole.cpp @@ -323,7 +323,7 @@ CVim::SendKeys(BSTR keys) } /* Translate key codes like <Esc> */ - str = replace_termcodes((char_u *)buffer, &ptr, REPTERM_DO_LT, NULL); + str = replace_termcodes((char_u *)buffer, &ptr, 0, REPTERM_DO_LT, NULL); /* If ptr was set, then a new buffer was allocated, * so we can free the old one. |