Introduction
Introduction Statistics Contact Development Disclaimer Help
tapplied parts of "anonymous" cleanup patch. - st - [fork] customized build of …
git clone git://src.adamsgaard.dk/st
Log
Files
Refs
README
LICENSE
---
commit 4736edd469d07685f6ceeb4bfe438ba48335bd81
parent 189a81caa11a278079fde3e610870e07870d8968
Author: AurĂ©lien Aptel <[email protected]>
Date: Wed, 8 Jun 2011 20:26:00 +0200
applied parts of "anonymous" cleanup patch.
Diffstat:
M st.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/st.c b/st.c
t@@ -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;
t@@ -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));
}
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.