summaryrefslogtreecommitdiffstats
path: root/src/menu.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-09-12 13:38:41 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-12 13:38:41 +0100
commitcdc839353f68ca43db6446e1b727fc7ba657b738 (patch)
tree0729860faa774e594b183ce0823ae23776b92701 /src/menu.c
parent5a4eb55122e45444d3a6c56ce108ce29bc8e52ab (diff)
patch 9.0.0449: there is no easy way to translate a key code into a stringv9.0.0449
Problem: There is no easy way to translate a string with a key code into a readable string. Solution: Add the keytrans() function. (closes #11114)
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 014d0518de..6a93316ab4 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -2890,7 +2890,7 @@ menuitem_getinfo(char_u *menu_name, vimmenu_T *menu, int modes, dict_T *dict)
*menu->strings[bit] == NUL
? (char_u *)"<Nop>"
: (tofree = str2special_save(
- menu->strings[bit], FALSE)));
+ menu->strings[bit], FALSE, FALSE)));
vim_free(tofree);
}
if (status == OK)