aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index 3829e73..4d04416 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