mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-21 23:05:59 +01:00
Remove stupid assignation in memcpy()
This commit is contained in:
parent
39964614b7
commit
66556d9670
1 changed files with 2 additions and 2 deletions
2
st.c
2
st.c
|
@ -1404,7 +1404,7 @@ stty(void)
|
|||
if ((n = strlen(s)) > siz-1)
|
||||
die("stty parameter length too long\n");
|
||||
*q++ = ' ';
|
||||
q = memcpy(q, s, n);
|
||||
memcpy(q, s, n);
|
||||
q += n;
|
||||
siz -= n + 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue