[dev] [st] [PATCH 3/3] Place memset arguments in the correct order.

From: noname <noname_AT_inventati.org>
Date: Sat, 18 Apr 2015 23:24:06 +0000

---
 st.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/st.c b/st.c
index 3a803f3..949cdb7 100644
--- a/st.c
+++ b/st.c
_AT_@ -1421,7 +1421,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++) {
-- 
1.8.4
Received on Sun Apr 19 2015 - 01:24:06 CEST

This archive was generated by hypermail 2.3.0 : Sun Apr 19 2015 - 01:36:08 CEST