summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-choose-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/cmd-choose-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/cmd-choose-window.c')
-rw-r--r--usr.bin/tmux/cmd-choose-window.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tmux/cmd-choose-window.c b/usr.bin/tmux/cmd-choose-window.c
index c63094932f6..5032a7cb24e 100644
--- a/usr.bin/tmux/cmd-choose-window.c
+++ b/usr.bin/tmux/cmd-choose-window.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-choose-window.c,v 1.11 2009/11/13 19:53:28 nicm Exp $ */
+/* $OpenBSD: cmd-choose-window.c,v 1.12 2009/12/03 22:50:10 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -116,10 +116,10 @@ cmd_choose_window_exec(struct cmd *self, struct cmd_ctx *ctx)
cdata->client = ctx->curclient;
cdata->client->references++;
- window_choose_ready(wl->window->active,
+ window_choose_ready(wl->window->active,
cur, cmd_choose_window_callback, cmd_choose_window_free, cdata);
- return (0);
+ return (0);
}
void
@@ -133,7 +133,7 @@ cmd_choose_window_callback(void *data, int idx)
if (idx == -1)
return;
if (cdata->client->flags & CLIENT_DEAD)
- return;
+ return;
if (cdata->session->flags & SESSION_DEAD)
return;
if (cdata->client->session != cdata->session)