string-normalize-...: fix memcpy that should be memmove
This commit is contained in:
parent
230ce10b11
commit
289e908ab2
|
@ -4399,7 +4399,7 @@ static Scheme_Object *normalize_d(Scheme_Object *o, int kompat)
|
||||||
}
|
}
|
||||||
if (!klen)
|
if (!klen)
|
||||||
s2[j++] = tmp;
|
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;
|
j += snds;
|
||||||
} else if ((s[i] >= MZ_JAMO_SYLLABLE_START)
|
} else if ((s[i] >= MZ_JAMO_SYLLABLE_START)
|
||||||
&& (s[i] <= MZ_JAMO_SYLLABLE_END)) {
|
&& (s[i] <= MZ_JAMO_SYLLABLE_END)) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user