From 35b33ee4894c16a22a0b883ca3bf636246894955 Mon Sep 17 00:00:00 2001 From: "pancake@nopcode.org" Date: Mon, 30 Aug 2010 17:07:54 +0200 Subject: fix segfault --- st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/st.c b/st.c index d928f0d..fb1172a 100644 --- a/st.c +++ b/st.c @@ -1003,7 +1003,7 @@ tresize(int col, int row) { /* resize to new height */ term.line = realloc(term.line, row * sizeof(Line)); - term.line = realloc(term.alt, row * sizeof(Line)); + term.alt = realloc(term.alt, row * sizeof(Line)); /* resize each row to new width, zero-pad if needed */ for(i = 0; i < minrow; i++) { -- cgit v1.2.3