summaryrefslogtreecommitdiff
path: root/strings/ctype-tis620.c
diff options
context:
space:
mode:
Diffstat (limited to 'strings/ctype-tis620.c')
-rw-r--r--strings/ctype-tis620.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/ctype-tis620.c b/strings/ctype-tis620.c
index 762f6d2dfb6..5ecd5c5c9f0 100644
--- a/strings/ctype-tis620.c
+++ b/strings/ctype-tis620.c
@@ -498,7 +498,7 @@ static uint thai2sortable(uchar *tstr, uint len)
l2bias use to control position weight of l2char
example (*=l2char) XX*X must come before X*XX
*/
- memcpy_overlap((char*) p, (char*) (p+1), tlen-1);
+ memmove((char*) p, (char*) (p+1), tlen-1);
tstr[len-1]= l2bias + t_ctype0[1]- L2_GARAN +1;
p--;
continue;