use memmove() instead of memcpy() in ttyread().

Aurélien Aptel 15 years ago
parent 1551e2db46
commit 0f37655939

@ -630,7 +630,7 @@ ttyread(void) {
}
/* keep any uncomplete utf8 char for the next call */
memcpy(buf, ptr, buflen);
memmove(buf, ptr, buflen);
}
void

Loading…
Cancel
Save