commit fb32d01a183979b3235740aaea555bfe94759dab from: Aurélien Aptel date: Wed Jun 8 18:26:00 2011 UTC applied parts of "anonymous" cleanup patch. commit - 986670d08082c97a9fb847b9218ce504c840f0ad commit + fb32d01a183979b3235740aaea555bfe94759dab blob - bc17df35d4285aeaae547059e2e44d733a17024f blob + 6ba5c4c6b0308b50378515d2a7aa65386848a7ee --- st.c +++ st.c @@ -483,8 +483,7 @@ selcopy(void) { void selnotify(XEvent *e) { - unsigned long nitems; - unsigned long ofs, rem; + unsigned long nitems, ofs, rem; int format; unsigned char *data; Atom type; @@ -767,7 +766,7 @@ tnew(int col, int row) { term.row = row, term.col = col; term.line = malloc(term.row * sizeof(Line)); term.alt = malloc(term.row * sizeof(Line)); - for(row = 0 ; row < term.row; row++) { + for(row = 0; row < term.row; row++) { term.line[row] = malloc(term.col * sizeof(Glyph)); term.alt [row] = malloc(term.col * sizeof(Glyph)); }