mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-22 07:15:59 +01:00
Place memset arguments in the correct order.
This commit is contained in:
parent
5528280fae
commit
ab69ea89b7
1 changed files with 1 additions and 1 deletions
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 a new issue