string-normalize-...: fix memcpy that should be memmove

This commit is contained in:
Matthew Flatt 2014-09-05 22:02:13 -06:00
parent 230ce10b11
commit 289e908ab2

View File

@ -4399,7 +4399,7 @@ static Scheme_Object *normalize_d(Scheme_Object *o, int kompat)
}
if (!klen)
s2[j++] = tmp;
memcpy(s2 + j, s2 + len + delta - snds, snds * sizeof(mzchar));
memmove(s2 + j, s2 + len + delta - snds, snds * sizeof(mzchar));
j += snds;
} else if ((s[i] >= MZ_JAMO_SYLLABLE_START)
&& (s[i] <= MZ_JAMO_SYLLABLE_END)) {