aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoname@inventati.org <noname@inventati.org>2015-04-19 01:24:28 +0200
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2015-04-20 09:29:24 +0200
commitab69ea89b759eb457b1e5314d5345fdeea3dec87 (patch)
tree8960e1353407bab7b5c596c7ec6eef336f773e61
parent5528280fae23968ffd3cf0527881cabddc24cf85 (diff)
downloadst-ab69ea89b759eb457b1e5314d5345fdeea3dec87.tar.gz
Place memset arguments in the correct order.
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index c67619d..71b1521 100644
--- a/st.c
+++ b/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++) {