summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2009-06-05 03:13:17 +0000
committerRay Lai <ray@cvs.openbsd.org>2009-06-05 03:13:17 +0000
commit17f8aa6125e8a206ea23391cfd096ab4f1029606 (patch)
tree44e0bce56518cfca7e665234156b2cb670f8d24e /usr.bin/tmux
parent7b71d53802d74149924ead578b80d4ad2bfa9f21 (diff)
Remove trailing newlines, spaces, and tabs.
No binary change.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r--usr.bin/tmux/cmd-attach-session.c3
-rw-r--r--usr.bin/tmux/cmd-rotate-window.c4
-rw-r--r--usr.bin/tmux/grid.c4
-rw-r--r--usr.bin/tmux/names.c3
-rw-r--r--usr.bin/tmux/screen-write.c10
-rw-r--r--usr.bin/tmux/tty-term.c3
-rw-r--r--usr.bin/tmux/tty-write.c3
7 files changed, 12 insertions, 18 deletions
diff --git a/usr.bin/tmux/cmd-attach-session.c b/usr.bin/tmux/cmd-attach-session.c
index 4fdaae04cfb..caf7664f271 100644
--- a/usr.bin/tmux/cmd-attach-session.c
+++ b/usr.bin/tmux/cmd-attach-session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-attach-session.c,v 1.1 2009/06/01 22:58:49 nicm Exp $ */
+/* $OpenBSD: cmd-attach-session.c,v 1.2 2009/06/05 03:13:16 ray Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -77,4 +77,3 @@ cmd_attach_session_exec(struct cmd *self, struct cmd_ctx *ctx)
return (1);
}
-
diff --git a/usr.bin/tmux/cmd-rotate-window.c b/usr.bin/tmux/cmd-rotate-window.c
index 8efa9a53c54..7774ad614c3 100644
--- a/usr.bin/tmux/cmd-rotate-window.c
+++ b/usr.bin/tmux/cmd-rotate-window.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-rotate-window.c,v 1.2 2009/06/03 07:51:24 nicm Exp $ */
+/* $OpenBSD: cmd-rotate-window.c,v 1.3 2009/06/05 03:13:16 ray Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -72,7 +72,7 @@ cmd_rotate_window_exec(struct cmd *self, struct cmd_ctx *ctx)
TAILQ_INSERT_HEAD(&w->panes, wp, entry);
xoff = wp->xoff; yoff = wp->yoff;
- sx = wp->sx; sy = wp->sy;
+ sx = wp->sx; sy = wp->sy;
flags = w->flags;
TAILQ_FOREACH(wp, &w->panes, entry) {
if ((wp2 = TAILQ_NEXT(wp, entry)) == NULL)
diff --git a/usr.bin/tmux/grid.c b/usr.bin/tmux/grid.c
index 0e90df3441f..9a5753d2f6e 100644
--- a/usr.bin/tmux/grid.c
+++ b/usr.bin/tmux/grid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grid.c,v 1.1 2009/06/01 22:58:49 nicm Exp $ */
+/* $OpenBSD: grid.c,v 1.2 2009/06/05 03:13:16 ray Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -493,5 +493,3 @@ grid_move_cells(struct grid *gd, u_int dx, u_int px, u_int py, u_int nx)
grid_put_cell(gd, xx, py, &grid_default_cell);
}
}
-
-
diff --git a/usr.bin/tmux/names.c b/usr.bin/tmux/names.c
index 754dd552b07..cadfe4a34c7 100644
--- a/usr.bin/tmux/names.c
+++ b/usr.bin/tmux/names.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: names.c,v 1.2 2009/06/03 04:03:16 ray Exp $ */
+/* $OpenBSD: names.c,v 1.3 2009/06/05 03:13:16 ray Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -107,4 +107,3 @@ parse_window_name(const char *in)
xfree(copy);
return (name);
}
-
diff --git a/usr.bin/tmux/screen-write.c b/usr.bin/tmux/screen-write.c
index b0eec9c8917..cf0d545b24a 100644
--- a/usr.bin/tmux/screen-write.c
+++ b/usr.bin/tmux/screen-write.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: screen-write.c,v 1.6 2009/06/03 23:37:30 nicm Exp $ */
+/* $OpenBSD: screen-write.c,v 1.7 2009/06/05 03:13:16 ray Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -89,7 +89,7 @@ screen_write_strlen(int utf8flag, const char *fmt, ...)
size++;
ptr++;
}
- }
+ }
return (size);
}
@@ -148,7 +148,7 @@ screen_write_vnputs(struct screen_write_ctx *ctx, ssize_t maxlen,
*utf8buf = *ptr;
ptr++;
}
-
+
width = utf8_width(utf8buf);
if (maxlen > 0 && size + width > (size_t) maxlen) {
while (size < (size_t) maxlen) {
@@ -301,12 +301,12 @@ screen_write_alignmenttest(struct screen_write_ctx *ctx)
memcpy(&gc, &grid_default_cell, sizeof gc);
gc.data = 'E';
-
+
for (yy = 0; yy < screen_size_y(s); yy++) {
for (xx = 0; xx < screen_size_x(s); xx++)
grid_view_set_cell(s->grid, xx, yy, &gc);
}
-
+
s->cx = 0;
s->cy = 0;
diff --git a/usr.bin/tmux/tty-term.c b/usr.bin/tmux/tty-term.c
index 990fbc552ae..c9f026f19e3 100644
--- a/usr.bin/tmux/tty-term.c
+++ b/usr.bin/tmux/tty-term.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty-term.c,v 1.1 2009/06/01 22:58:49 nicm Exp $ */
+/* $OpenBSD: tty-term.c,v 1.2 2009/06/05 03:13:16 ray Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -390,4 +390,3 @@ tty_term_flag(struct tty_term *term, enum tty_code_code code)
log_fatalx("not a flag: %d", code);
return (term->codes[code].value.flag);
}
-
diff --git a/usr.bin/tmux/tty-write.c b/usr.bin/tmux/tty-write.c
index 7ab56a86bea..e34abc235f2 100644
--- a/usr.bin/tmux/tty-write.c
+++ b/usr.bin/tmux/tty-write.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty-write.c,v 1.1 2009/06/01 22:58:49 nicm Exp $ */
+/* $OpenBSD: tty-write.c,v 1.2 2009/06/05 03:13:16 ray Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -88,4 +88,3 @@ tty_write_mode(struct window_pane *wp, int mode)
tty_update_mode(&c->tty, mode);
}
}
-