summaryrefslogtreecommitdiffstats
path: root/session.c
diff options
context:
space:
mode:
authornicm <nicm>2016-10-15 09:27:52 +0000
committernicm <nicm>2016-10-15 09:27:52 +0000
commite7990375cb130853505fb2ff3a2fa801537119e5 (patch)
tree501a6ff0a8c03edb935aecd5ebeb95fc07c804f6 /session.c
parent3f138dc40c37ddee021b92e5d29676ed96b6cab8 (diff)
Give window_create and window_create1 better names.
Diffstat (limited to 'session.c')
-rw-r--r--session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/session.c b/session.c
index 423b7db1..64072dcf 100644
--- a/session.c
+++ b/session.c
@@ -349,7 +349,7 @@ session_new(struct session *s, const char *name, int argc, char **argv,
shell = _PATH_BSHELL;
hlimit = options_get_number(s->options, "history-limit");
- w = window_create(name, argc, argv, path, shell, cwd, env, s->tio,
+ w = window_create_spawn(name, argc, argv, path, shell, cwd, env, s->tio,
s->sx, s->sy, hlimit, cause);
if (w == NULL) {
winlink_remove(&s->windows, wl);