X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=st.c;h=ae93ade5e83c56f24af82e6e7fa771b22e8bd16a;hb=5a10aca702bf7bc9094cb4abaea6c59558740d29;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)); }