diff options
-rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -630,7 +630,7 @@ ttyread(void) { | |||
630 | } | 630 | } |
631 | 631 | ||
632 | /* keep any uncomplete utf8 char for the next call */ | 632 | /* keep any uncomplete utf8 char for the next call */ |
633 | memcpy(buf, ptr, buflen); | 633 | memmove(buf, ptr, buflen); |
634 | } | 634 | } |
635 | 635 | ||
636 | void | 636 | void |