Explorar el Código

Place memset arguments in the correct order.

noname@inventati.org hace 10 años
padre
commit
ab69ea89b7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      st.c

+ 1 - 1
st.c

@@ -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++) {