Browse Source

fix segfault

master
pancake@nopcode.org 14 years ago
parent
commit
e1ce89f267
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      st.c

+ 1
- 1
st.c View File

@ -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++) {


Loading…
Cancel
Save