diff options
author | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-11-28 01:40:39 +0100 |
---|---|---|
committer | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-11-28 01:40:39 +0100 |
commit | 0f3765593981821986c7586350d792e26c22f71e (patch) | |
tree | 443cfe9e4c24e02e4951fbc93dffaec99780484c /st.c | |
parent | 1551e2db4632ec8a3dc50bf25e6720bf6c1fcca5 (diff) | |
download | st-0f3765593981821986c7586350d792e26c22f71e.tar.gz st-0f3765593981821986c7586350d792e26c22f71e.tar.bz2 |
use memmove() instead of memcpy() in ttyread().
Diffstat (limited to 'st.c')
-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 |