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

master
Aurélien Aptel 14 years ago
parent af75c433e5
commit 54bc450dbf
  1. 2
      st.c

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

Loading…
Cancel
Save