Place memset arguments in the correct order.
This commit is contained in:
parent
5528280fae
commit
ab69ea89b7
2
st.c
2
st.c
@ -1459,7 +1459,7 @@ treset(void) {
|
|||||||
term.top = 0;
|
term.top = 0;
|
||||||
term.bot = term.row - 1;
|
term.bot = term.row - 1;
|
||||||
term.mode = MODE_WRAP;
|
term.mode = MODE_WRAP;
|
||||||
memset(term.trantbl, sizeof(term.trantbl), CS_USA);
|
memset(term.trantbl, CS_USA, sizeof(term.trantbl));
|
||||||
term.charset = 0;
|
term.charset = 0;
|
||||||
|
|
||||||
for(i = 0; i < 2; i++) {
|
for(i = 0; i < 2; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user