From 7e0bae024d4c1673cff31763227ad52b936fa56f Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Fri, 11 Aug 2023 23:15:38 +0200 Subject: patch 9.0.1687: mapset() not properly handling script ID Problem: mapset() not properly handling script ID Solution: replace_termcodes() may accept a script ID closes: #12699 closes: #12697 Signed-off-by: Christian Brabandt Co-authored-by: zeertzjq --- src/if_ole.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/if_ole.cpp') 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 */ - 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. -- cgit v1.2.3