[hackers] [st] Place memset arguments in the correct order. || noname_AT_inventati.org

From: <git_AT_suckless.org>
Date: Mon, 20 Apr 2015 09:36:05 +0200 (CEST)

commit ab69ea89b759eb457b1e5314d5345fdeea3dec87
Author: noname_AT_inventati.org <noname_AT_inventati.org>
Date: Sun Apr 19 01:24:28 2015 +0200

    Place memset arguments in the correct order.

diff --git a/st.c b/st.c
index c67619d..71b1521 100644
--- a/st.c
+++ b/st.c
_AT_@ -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++) {
Received on Mon Apr 20 2015 - 09:36:05 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 20 2015 - 09:36:49 CEST