diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-06-24 22:58:06 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-06-24 22:58:06 +0000 |
commit | 8c8de839325eda0bed68917d18179d2003b344d1 (patch) | |
tree | c65b80f0a627f2e77385a07a62ee4206465cbc22 /src/menu.c | |
parent | 864207de089119377a1e1e5d411307d8eb57399e (diff) | |
download | vim-8c8de839325eda0bed68917d18179d2003b344d1.zip |
updated for version 7.2a
Diffstat (limited to 'src/menu.c')
-rw-r--r-- | src/menu.c | 8 |
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; } } |