Give window_create and window_create1 better names.

This commit is contained in:
nicm
2016-10-15 09:27:52 +00:00
parent 3f138dc40c
commit e7990375cb
4 changed files with 9 additions and 9 deletions

View File

@ -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);