Xinqi Bao's Git
projects
/
st.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
5528280
)
Place memset arguments in the correct order.
author
[email protected]
<
[email protected]
>
Sat, 18 Apr 2015 23:24:28 +0000
(
01:24
+0200)
committer
Roberto E. Vargas Caballero <
[email protected]
>
Mon, 20 Apr 2015 07:29:24 +0000
(09:29 +0200)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
c67619d
..
71b1521
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-1459,7
+1459,7
@@
treset(void) {
term.top = 0;
term.bot = term.row - 1;
term.mode = MODE_WRAP;
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++) {
term.charset = 0;
for(i = 0; i < 2; i++) {