On Sat, Mar 25, 2017 at 11:02:42PM +0300, Alexander Krotov wrote: > --- 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)); > }
I don't think that's a typo, just a short form for "hey, watch out, remember we still have `i == minrow` from the last loop here!". ;) -- Ivan "Colona" Delalande