aboutsummaryrefslogtreecommitdiff
path: root/src/tag.c
diff options
context:
space:
mode:
authorFelipe Oliveira Carvalho <felipekde@gmail.com>2014-03-26 02:51:44 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-03-26 16:28:13 -0300
commit07dad7acf3d49b3136c5aad2c9fe05abb9aaf032 (patch)
tree97ab0057d5c3cf17d2a2e90862c22432dd11c674 /src/tag.c
parentdbc904956a17e6bec1ddeba9330b639167dbb882 (diff)
downloadrneovim-07dad7acf3d49b3136c5aad2c9fe05abb9aaf032.tar.gz
rneovim-07dad7acf3d49b3136c5aad2c9fe05abb9aaf032.tar.bz2
rneovim-07dad7acf3d49b3136c5aad2c9fe05abb9aaf032.zip
Use memmove instead of mch_memmove
Diffstat (limited to 'src/tag.c')
-rw-r--r--src/tag.c8
1 files changed, 4 insertions, 4 deletions
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;