summaryrefslogtreecommitdiffstats
path: root/src/charset.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-06-24 21:56:24 +0000
committerBram Moolenaar <Bram@vim.org>2008-06-24 21:56:24 +0000
commit446cb837a017fc1c1b144cb5c2a35cb90abfbbcf (patch)
tree6c1fe56f2db8d4adbeee792b181b0659c4d1f216 /src/charset.c
parent3577c6fafb77da5419cd1001dac56f204d480bdc (diff)
updated for version 7.2a
Diffstat (limited to 'src/charset.c')
-rw-r--r--src/charset.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/charset.c b/src/charset.c
index a79f0fd02b..282e8573e5 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -476,14 +476,12 @@ str_foldcase(str, orglen, buf, buflen)
{
if (buf == NULL)
{
- mch_memmove(GA_PTR(i) + nl, GA_PTR(i) + ol,
- STRLEN(GA_PTR(i) + ol) + 1);
+ STRMOVE(GA_PTR(i) + nl, GA_PTR(i) + ol);
ga.ga_len += nl - ol;
}
else
{
- mch_memmove(buf + i + nl, buf + i + ol,
- STRLEN(buf + i + ol) + 1);
+ STRMOVE(buf + i + nl, buf + i + ol);
len += nl - ol;
}
}
@@ -1744,7 +1742,6 @@ vim_isblankline(lbuf)
* If "len" is not NULL, the length of the number in characters is returned.
* If "nptr" is not NULL, the signed result is returned in it.
* If "unptr" is not NULL, the unsigned result is returned in it.
- * If "unptr" is not NULL, the unsigned result is returned in it.
* If "dooct" is non-zero recognize octal numbers, when > 1 always assume
* octal number.
* If "dohex" is non-zero recognize hex numbers, when > 1 always assume
@@ -1919,7 +1916,7 @@ backslash_halve(p)
{
for ( ; *p; ++p)
if (rem_backslash(p))
- mch_memmove(p, p + 1, STRLEN(p));
+ STRMOVE(p, p + 1);
}
/*