summaryrefslogtreecommitdiff
path: root/src/menu.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-06-24 22:58:06 +0000
committerBram Moolenaar <Bram@vim.org>2008-06-24 22:58:06 +0000
commit8c8de839325eda0bed68917d18179d2003b344d1 (patch)
treec65b80f0a627f2e77385a07a62ee4206465cbc22 /src/menu.c
parent864207de089119377a1e1e5d411307d8eb57399e (diff)
downloadvim-8c8de839325eda0bed68917d18179d2003b344d1.zip
updated for version 7.2a
Diffstat (limited to 'src/menu.c')
-rw-r--r--src/menu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/menu.c b/src/menu.c
index f0683512e..94e5938d7 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -152,7 +152,7 @@ ex_menu(eap)
while (*arg != NUL && *arg != ' ')
{
if (*arg == '\\')
- mch_memmove(arg, arg + 1, STRLEN(arg));
+ STRMOVE(arg, arg + 1);
mb_ptr_adv(arg);
}
if (*arg != NUL)
@@ -300,7 +300,7 @@ ex_menu(eap)
else if (STRNICMP(arg, "<TAB>", 5) == 0)
{
*arg = TAB;
- mch_memmove(arg + 1, arg + 5, STRLEN(arg + 4));
+ STRMOVE(arg + 1, arg + 5);
}
arg++;
}
@@ -1442,7 +1442,7 @@ menu_name_skip(name)
{
if (*p == '\\' || *p == Ctrl_V)
{
- mch_memmove(p, p + 1, STRLEN(p));
+ STRMOVE(p, p + 1);
if (*p == NUL)
break;
}
@@ -1659,7 +1659,7 @@ menu_text(str, mnemonic, actext)
*mnemonic = c;
}
#endif
- mch_memmove(p, p + 1, STRLEN(p));
+ STRMOVE(p, p + 1);
p = p + 1;
}
}