aboutsummaryrefslogtreecommitdiff
path: root/src/indent.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/indent.c
parentdbc904956a17e6bec1ddeba9330b639167dbb882 (diff)
downloadrneovim-07dad7acf3d49b3136c5aad2c9fe05abb9aaf032.tar.gz
rneovim-07dad7acf3d49b3136c5aad2c9fe05abb9aaf032.tar.bz2
rneovim-07dad7acf3d49b3136c5aad2c9fe05abb9aaf032.zip
Use memmove instead of mch_memmove
Diffstat (limited to 'src/indent.c')
-rw-r--r--src/indent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indent.c b/src/indent.c
index 38a267d728..3edf9a11ee 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -245,7 +245,7 @@ set_indent (
*s++ = ' ';
--todo;
}
- mch_memmove(s, p, (size_t)line_len);
+ memmove(s, p, (size_t)line_len);
/* Replace the line (unless undo fails). */
if (!(flags & SIN_UNDO) || u_savesub(curwin->w_cursor.lnum) == OK) {
@@ -353,7 +353,7 @@ int copy_indent(int size, char_u *src)
}
/* Append the original line */
- mch_memmove(p, ml_get_curline(), (size_t)line_len);
+ memmove(p, ml_get_curline(), (size_t)line_len);
/* Replace the line */
ml_replace(curwin->w_cursor.lnum, line, FALSE);