mirror of
https://github.com/alrayyes/st.git
synced 2024-11-29 14:06:21 +00:00
use memmove() instead of memcpy() in ttyread().
This commit is contained in:
parent
af75c433e5
commit
54bc450dbf
1 changed files with 1 additions and 1 deletions
2
st.c
2
st.c
|
@ -630,7 +630,7 @@ ttyread(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* keep any uncomplete utf8 char for the next call */
|
/* keep any uncomplete utf8 char for the next call */
|
||||||
memcpy(buf, ptr, buflen);
|
memmove(buf, ptr, buflen);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue