summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-08-06 20:28:43 +0000
committerBram Moolenaar <Bram@vim.org>2007-08-06 20:28:43 +0000
commit452a81b4138c18ffbec4cd53274f42b88fd9983d (patch)
treedf4982be8b6463081ae40810c4d1d2f1dc3996d9 /src/buffer.c
parenta064ac85018ac1f91b70d6941bbda3f981195c83 (diff)
updated for version 7.1-055v7.1.055
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 8bd3a35533..6d44fa74d6 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -4860,7 +4860,7 @@ chk_modeline(lnum, flags)
*/
for (e = s; *e != ':' && *e != NUL; ++e)
if (e[0] == '\\' && e[1] == ':')
- STRCPY(e, e + 1);
+ mch_memmove(e, e + 1, STRLEN(e));
if (*e == NUL)
end = TRUE;