diff options
author | Aurélien Aptel | 2010-11-28 01:40:39 +0100 |
---|---|---|
committer | Aurélien Aptel | 2010-11-28 01:40:39 +0100 |
commit | 54bc450dbf057e66bed5f10d13d90a469e5ca8ae (patch) | |
tree | 443cfe9e4c24e02e4951fbc93dffaec99780484c | |
parent | af75c433e56e74d2ad7a315d504a9303ea532f18 (diff) | |
download | st-54bc450dbf057e66bed5f10d13d90a469e5ca8ae.tar.gz st-54bc450dbf057e66bed5f10d13d90a469e5ca8ae.tar.xz st-54bc450dbf057e66bed5f10d13d90a469e5ca8ae.zip |
use memmove() instead of memcpy() in ttyread().
-rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -630,7 +630,7 @@ ttyread(void) { } /* keep any uncomplete utf8 char for the next call */ - memcpy(buf, ptr, buflen); + memmove(buf, ptr, buflen); } void |