aboutsummarylogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
authorAurélien Aptel2010-11-28 01:40:39 +0100
committerAurélien Aptel2010-11-28 01:40:39 +0100
commit5db0621c3d6675b2ab43f67c1ea27bc4f30be7e5 (patch)
treefe57ee103c4e90a1b9d316df4fe7c76e324c0fc8 /st.c
parenta13cd5897a0ca1bba0972d021191cc4670349bf6 (diff)
downloadaur-5db0621c3d6675b2ab43f67c1ea27bc4f30be7e5.tar.gz
use memmove() instead of memcpy() in ttyread().
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index 3829e7383620..4d04416d1946 100644
--- a/st.c
+++ b/st.c
@@ -630,7 +630,7 @@ ttyread(void) {
}
/* keep any uncomplete utf8 char for the next call */
- memcpy(buf, ptr, buflen);
+ memmove(buf, ptr, buflen);
}
void