Place memset arguments in the correct order.

dev
noname@inventati.org 2015-04-19 01:24:28 +02:00 committed by Roberto E. Vargas Caballero
parent 5528280fae
commit ab69ea89b7
1 changed files with 1 additions and 1 deletions

2
st.c
View File

@ -1459,7 +1459,7 @@ treset(void) {
term.top = 0;
term.bot = term.row - 1;
term.mode = MODE_WRAP;
memset(term.trantbl, sizeof(term.trantbl), CS_USA);
memset(term.trantbl, CS_USA, sizeof(term.trantbl));
term.charset = 0;
for(i = 0; i < 2; i++) {