summaryrefslogtreecommitdiffstats
path: root/src/menu.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/menu.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/menu.c')
-rw-r--r--src/menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/menu.c b/src/menu.c
index 04cd5f103c..e4008baab4 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -394,7 +394,7 @@ ex_menu(
else if (modes & MENU_TIP_MODE)
map_buf = NULL; // Menu tips are plain text.
else
- map_to = replace_termcodes(map_to, &map_buf,
+ map_to = replace_termcodes(map_to, &map_buf, 0,
REPTERM_DO_LT | (special ? REPTERM_SPECIAL : 0), NULL);
menuarg.modes = modes;
#ifdef FEAT_TOOLBAR