diff options
author | pancake@nopcode.org | 2010-08-30 17:07:54 +0200 |
---|---|---|
committer | pancake@nopcode.org | 2010-08-30 17:07:54 +0200 |
commit | 06d1098c99b41a333409fd1143a5767a6c60dfbd (patch) | |
tree | b4f07fb012501ad28e14f6c9c4e26df76bae62f0 /st.c | |
parent | b14b3d315bfe5f9f652aca6a5cc970d995407e16 (diff) | |
download | aur-06d1098c99b41a333409fd1143a5767a6c60dfbd.tar.gz |
fix segfault
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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++) { |