tPlace memset arguments in the correct order. - st - [fork] customized build of… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit ab69ea89b759eb457b1e5314d5345fdeea3dec87 | |
parent 5528280fae23968ffd3cf0527881cabddc24cf85 | |
Author: [email protected] <[email protected]> | |
Date: Sun, 19 Apr 2015 01:24:28 +0200 | |
Place memset arguments in the correct order. | |
Diffstat: | |
M st.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -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++) { |