summaryrefslogtreecommitdiffstats
path: root/cmd-break-pane.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-12-03 22:50:09 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-12-03 22:50:09 +0000
commit15a64b805e46584d37cc6745383709632e287999 (patch)
tree5a55f5006585c9cdde05163251fd99da243575b5 /cmd-break-pane.c
parent6c9862662fd2cccdc55be9d447a27b10f33ed8ea (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 'cmd-break-pane.c')
-rw-r--r--cmd-break-pane.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/cmd-break-pane.c b/cmd-break-pane.c
index d465f602..d5f847fb 100644
--- a/cmd-break-pane.c
+++ b/cmd-break-pane.c
@@ -64,18 +64,18 @@ cmd_break_pane_exec(struct cmd *self, struct cmd_ctx *ctx)
if (wl->window->active == NULL)
wl->window->active = TAILQ_NEXT(wp, entry);
}
- layout_close_pane(wp);
+ layout_close_pane(wp);
- w = wp->window = window_create1(s->sx, s->sy);
- TAILQ_INSERT_HEAD(&w->panes, wp, entry);
- w->active = wp;
- w->name = default_window_name(w);
+ w = wp->window = window_create1(s->sx, s->sy);
+ TAILQ_INSERT_HEAD(&w->panes, wp, entry);
+ w->active = wp;
+ w->name = default_window_name(w);
layout_init(w);
base_idx = options_get_number(&s->options, "base-index");
- wl = session_attach(s, w, -1 - base_idx, &cause); /* can't fail */
- if (!cmd_check_flag(data->chflags, 'd'))
- session_select(s, wl->idx);
+ wl = session_attach(s, w, -1 - base_idx, &cause); /* can't fail */
+ if (!cmd_check_flag(data->chflags, 'd'))
+ session_select(s, wl->idx);
server_redraw_session(s);
server_status_session_group(s);