changeset: 203:1ab99c17a30c
tag: tip
user: Aurélien Aptel <aurelien.aptel_AT_gmail.com>
date: Wed Jun 08 20:26:00 2011 +0200
files: st.c
description:
applied parts of "anonymous" cleanup patch.
diff -r 0f21f57006c9 -r 1ab99c17a30c st.c
--- a/st.c Wed Jun 08 20:22:38 2011 +0200
+++ b/st.c Wed Jun 08 20:26:00 2011 +0200
@@ -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 @@
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));
}
Received on Wed Jun 08 2011 - 20:26:09 CEST
This archive was generated by hypermail 2.2.0 : Wed Jun 08 2011 - 20:36:07 CEST