diff options
author | Aurélien Aptel <aurelien.aptel@gmail.com> | 2011-06-08 20:26:00 +0200 |
---|---|---|
committer | Aurélien Aptel <aurelien.aptel@gmail.com> | 2011-06-08 20:26:00 +0200 |
commit | fb32d01a183979b3235740aaea555bfe94759dab (patch) | |
tree | 554ed0f90b4e21f86383b0c6e66827c2b32f69af | |
parent | 986670d08082c97a9fb847b9218ce504c840f0ad (diff) | |
download | st-fb32d01a183979b3235740aaea555bfe94759dab.tar.gz st-fb32d01a183979b3235740aaea555bfe94759dab.tar.bz2 |
applied parts of "anonymous" cleanup patch.
-rw-r--r-- | st.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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)); } |