index
:
st.git
master
my rice of st
Gustaf Rydholm
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
st.c
2
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