summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index d9b163e..663261a 100644
--- a/st.c
+++ b/st.c
@@ -1067,7 +1067,7 @@ void
tnew(int col, int row)
{
int i;
- term = (Term){};
+ term = (Term){0};
term.screen[0].buffer = xmalloc(HISTSIZE * sizeof(Line));
term.screen[0].size = HISTSIZE;
term.screen[1].buffer = NULL;