pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12c25bc
)
fix segfault
author
pancake@nopcode.org
<unknown>
Mon, 30 Aug 2010 15:07:54 +0000
(17:07 +0200)
committer
pancake@nopcode.org
<unknown>
Mon, 30 Aug 2010 15:07:54 +0000
(17:07 +0200)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
d928f0d
..
fb1172a
100644
(file)
--- 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++) {