=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/window.c,v retrieving revision 1.170 retrieving revision 1.171 diff -u -r1.170 -r1.171 --- src/usr.bin/tmux/window.c 2016/10/13 20:27:27 1.170 +++ src/usr.bin/tmux/window.c 2016/10/15 09:27:52 1.171 @@ -1,4 +1,4 @@ -/* $OpenBSD: window.c,v 1.170 2016/10/13 20:27:27 nicm Exp $ */ +/* $OpenBSD: window.c,v 1.171 2016/10/15 09:27:52 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -293,7 +293,7 @@ } struct window * -window_create1(u_int sx, u_int sy) +window_create(u_int sx, u_int sy) { struct window *w; @@ -323,19 +323,19 @@ } struct window * -window_create(const char *name, int argc, char **argv, const char *path, +window_create_spawn(const char *name, int argc, char **argv, const char *path, const char *shell, const char *cwd, struct environ *env, struct termios *tio, u_int sx, u_int sy, u_int hlimit, char **cause) { struct window *w; struct window_pane *wp; - w = window_create1(sx, sy); + w = window_create(sx, sy); wp = window_add_pane(w, NULL, hlimit); layout_init(w, wp); - if (window_pane_spawn(wp, argc, argv, path, shell, cwd, env, tio, - cause) != 0) { + if (window_pane_spawn(wp, argc, argv, path, shell, cwd, + env, tio, cause) != 0) { window_destroy(w); return (NULL); }