summaryrefslogtreecommitdiffstats
path: root/cmd-set-window-option.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-06-18 22:21:51 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-06-18 22:21:51 +0000
commit99df48d70f10dcf8f95d4684262a3392d72ee9c6 (patch)
treee3e7768fa327c937e15a35579c8ce3362ff96f51 /cmd-set-window-option.c
parent28aefe41623daba7685fe54ceb0b6952d5f6d98a (diff)
Trimify.
Diffstat (limited to 'cmd-set-window-option.c')
-rw-r--r--cmd-set-window-option.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/cmd-set-window-option.c b/cmd-set-window-option.c
index 0565d892..ec3f0582 100644
--- a/cmd-set-window-option.c
+++ b/cmd-set-window-option.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-set-window-option.c,v 1.9 2008-06-18 20:11:25 nicm Exp $ */
+/* $Id: cmd-set-window-option.c,v 1.10 2008-06-18 22:21:51 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -141,7 +141,7 @@ cmd_set_window_option_exec(struct cmd *self, struct cmd_ctx *ctx)
else {
if (flag)
wl->window->flags |= WINDOW_MONITOR;
- else
+ else
wl->window->flags &= ~WINDOW_MONITOR;
}
@@ -154,7 +154,7 @@ cmd_set_window_option_exec(struct cmd *self, struct cmd_ctx *ctx)
}
for (i = 0; i < ARRAY_LENGTH(&sessions); i++) {
- s = ARRAY_ITEM(&sessions, i);
+ s = ARRAY_ITEM(&sessions, i);
if (s != NULL)
session_alert_cancel(s, wl);
}
@@ -169,7 +169,7 @@ cmd_set_window_option_exec(struct cmd *self, struct cmd_ctx *ctx)
else {
if (flag)
wl->window->flags |= WINDOW_AGGRESSIVE;
- else
+ else
wl->window->flags &= ~WINDOW_AGGRESSIVE;
}
@@ -278,5 +278,5 @@ cmd_set_window_option_print(struct cmd *self, char *buf, size_t len)
if (off < len && data->option != NULL)
off += xsnprintf(buf + off, len - off, " %s", data->option);
if (off < len && data->value != NULL)
- off += xsnprintf(buf + off, len - off, " %s", data->value);
+ off += xsnprintf(buf + off, len - off, " %s", data->value);
}