summaryrefslogtreecommitdiffstats
path: root/src/optionstr.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-08-11 23:15:38 +0200
committerChristian Brabandt <cb@256bit.org>2023-08-11 23:16:10 +0200
commit7e0bae024d4c1673cff31763227ad52b936fa56f (patch)
treef76335fcdc8bd03dc55fbefe671dd5729021320d /src/optionstr.c
parentcd4e4e169ab3ff0b9315e5bc16d5ba490ee251ff (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/optionstr.c')
-rw-r--r--src/optionstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/optionstr.c b/src/optionstr.c
index 06958aab2c..31e30e195b 100644
--- a/src/optionstr.c
+++ b/src/optionstr.c
@@ -2102,7 +2102,7 @@ did_set_pastetoggle(optset_T *args UNUSED)
// translate key codes like in a mapping
if (*p_pt)
{
- (void)replace_termcodes(p_pt, &p,
+ (void)replace_termcodes(p_pt, &p, 0,
REPTERM_FROM_PART | REPTERM_DO_LT, NULL);
if (p != NULL)
{