diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-08-06 20:28:43 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-08-06 20:28:43 +0000 |
commit | 452a81b4138c18ffbec4cd53274f42b88fd9983d (patch) | |
tree | df4982be8b6463081ae40810c4d1d2f1dc3996d9 /src/misc1.c | |
parent | a064ac85018ac1f91b70d6941bbda3f981195c83 (diff) | |
download | vim-git-452a81b4138c18ffbec4cd53274f42b88fd9983d.tar.gz |
updated for version 7.1-055v7.1.055
Diffstat (limited to 'src/misc1.c')
-rw-r--r-- | src/misc1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc1.c b/src/misc1.c index 816c9471d..be2c24443 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -8635,7 +8635,7 @@ dos_expandpath( for (p = buf + wildoff; p < s; ++p) if (rem_backslash(p)) { - STRCPY(p, p + 1); + mch_memmove(p, p + 1, STRLEN(p)); --e; --s; } @@ -8936,7 +8936,7 @@ unix_expandpath(gap, path, wildoff, flags, didstar) for (p = buf + wildoff; p < s; ++p) if (rem_backslash(p)) { - STRCPY(p, p + 1); + mch_memmove(p, p + 1, STRLEN(p)); --e; --s; } |