all repos — st @ 4736edd469d07685f6ceeb4bfe438ba48335bd81

st (suckless terminal) config

applied parts of "anonymous" cleanup patch.
Aurélien Aptel aurelien.aptel@gmail.com
commit

4736edd469d07685f6ceeb4bfe438ba48335bd81

parent

189a81caa11a278079fde3e610870e07870d8968

1 files changed, 2 insertions(+), 3 deletions(-)

jump to
M st.cst.c

@@ -483,8 +483,7 @@ }

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 @@ /* set screen size */

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)); }