From 07dad7acf3d49b3136c5aad2c9fe05abb9aaf032 Mon Sep 17 00:00:00 2001 From: Felipe Oliveira Carvalho Date: Wed, 26 Mar 2014 02:51:44 -0300 Subject: Use memmove instead of mch_memmove --- src/tag.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/tag.c') diff --git a/src/tag.c b/src/tag.c index 3ba62cef27..3fa209e4b9 100644 --- a/src/tag.c +++ b/src/tag.c @@ -2026,7 +2026,7 @@ findtag_end: /* To avoid allocating memory again we turn the struct * match_found into a string. For help the priority was not * included in the length. */ - mch_memmove(mfp, mfp->match, + memmove(mfp, mfp->match, (size_t)(mfp->len + (help_only ? ML_HELP_LEN : 0))); matches[match_count++] = (char_u *)mfp; } @@ -2984,14 +2984,14 @@ expand_tags ( for (i = 0; i < *num_file; i++) { parse_match((*file)[i], &t_p); c = (int)(t_p.tagname_end - t_p.tagname); - mch_memmove(tagnm, t_p.tagname, (size_t)c); + memmove(tagnm, t_p.tagname, (size_t)c); tagnm[c++] = 0; tagnm[c++] = (t_p.tagkind != NULL && *t_p.tagkind) ? *t_p.tagkind : 'f'; tagnm[c++] = 0; - mch_memmove((*file)[i] + c, t_p.fname, t_p.fname_end - t_p.fname); + memmove((*file)[i] + c, t_p.fname, t_p.fname_end - t_p.fname); (*file)[i][c + (t_p.fname_end - t_p.fname)] = 0; - mch_memmove((*file)[i], tagnm, (size_t)c); + memmove((*file)[i], tagnm, (size_t)c); } } return ret; -- cgit