X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=st.c;h=ae93ade5e83c56f24af82e6e7fa771b22e8bd16a;hb=8dacdfbab1c476063a31bc3b8d7222ac2b70ff66;hp=d7bd32ae7606c2f46fe26e77377863e06b62ae16;hpb=e7ed326d2e914a57017c9f34459824614075519b;p=st.git diff --git a/st.c b/st.c index d7bd32a..ae93ade 100644 --- a/st.c +++ b/st.c @@ -2537,7 +2537,7 @@ tresize(int col, int row) } /* allocate any new rows */ - for (/* i == minrow */; i < row; i++) { + for (/* i = minrow */; i < row; i++) { term.line[i] = xmalloc(col * sizeof(Glyph)); term.alt[i] = xmalloc(col * sizeof(Glyph)); }