summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/window.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-12-03 22:50:11 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-12-03 22:50:11 +0000
commitba1906c0f6cde1edffbb454483a9ecebb8942c71 (patch)
tree27dbb1919efa0b7aff52529186b13715775f2eea /usr.bin/tmux/window.c
parent01c66e11a4a92cc38c58979c53c9f0b385d4f2c4 (diff)
Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last
time now I've configured emacs to make them displayed in really annoying colours...
Diffstat (limited to 'usr.bin/tmux/window.c')
-rw-r--r--usr.bin/tmux/window.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/tmux/window.c b/usr.bin/tmux/window.c
index 5eaf9b1ac14..2b87d95ea1c 100644
--- a/usr.bin/tmux/window.c
+++ b/usr.bin/tmux/window.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: window.c,v 1.41 2009/11/26 21:37:13 nicm Exp $ */
+/* $OpenBSD: window.c,v 1.42 2009/12/03 22:50:10 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -189,7 +189,7 @@ winlink_stack_remove(struct winlink_stack *stack, struct winlink *wl)
if (wl == NULL)
return;
-
+
TAILQ_FOREACH(wl2, stack, sentry) {
if (wl2 == wl) {
TAILQ_REMOVE(stack, wl, sentry);
@@ -223,7 +223,7 @@ window_create1(u_int sx, u_int sy)
w->lastlayout = -1;
w->layout_root = NULL;
-
+
w->sx = sx;
w->sy = sy;
@@ -428,7 +428,7 @@ window_pane_create(struct window *w, u_int sx, u_int sy, u_int hlimit)
wp->layout_cell = NULL;
wp->xoff = 0;
- wp->yoff = 0;
+ wp->yoff = 0;
wp->sx = sx;
wp->sy = sy;
@@ -513,7 +513,7 @@ window_pane_spawn(struct window_pane *wp, const char *cmd, const char *shell,
ws.ws_col = screen_size_x(&wp->base);
ws.ws_row = screen_size_y(&wp->base);
- switch (wp->pid = forkpty(&wp->fd, wp->tty, NULL, &ws)) {
+ switch (wp->pid = forkpty(&wp->fd, wp->tty, NULL, &ws)) {
case -1:
wp->fd = -1;
xasprintf(cause, "%s: %s", cmd, strerror(errno));
@@ -665,7 +665,7 @@ window_pane_parse(struct window_pane *wp)
data = EVBUFFER_DATA(wp->event->input);
bufferevent_write(wp->pipe_event, data, new_size);
}
-
+
input_parse(wp);
wp->pipe_off = EVBUFFER_LENGTH(wp->event->input);