diff options
author | Thomas Adam <thomas@xteddy.org> | 2021-03-02 12:01:25 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2021-03-02 12:01:25 +0000 |
commit | 2301bee87ddfcdc307d8cb4e3f62eed9fb94d311 (patch) | |
tree | ff292eb08ed29269c7829f3908cc9e265663fe02 /spawn.c | |
parent | 48131c6d020220e6998512198b73819c5a085db9 (diff) | |
parent | 81f9a23d25237f2b0c52a2867ddd2db59cc8f368 (diff) | |
download | rtmux-2301bee87ddfcdc307d8cb4e3f62eed9fb94d311.tar.gz rtmux-2301bee87ddfcdc307d8cb4e3f62eed9fb94d311.tar.bz2 rtmux-2301bee87ddfcdc307d8cb4e3f62eed9fb94d311.zip |
Merge branch 'obsd-master' into master
Diffstat (limited to 'spawn.c')
-rw-r--r-- | spawn.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -182,7 +182,7 @@ spawn_window(struct spawn_context *sc, char **cause) NULL); options_set_number(w->options, "automatic-rename", 0); } else - w->name = xstrdup(default_window_name(w)); + w->name = default_window_name(w); } /* Switch to the new window if required. */ @@ -263,8 +263,9 @@ spawn_pane(struct spawn_context *sc, char **cause) } /* - * Now we have a pane with nothing running in it ready for the new process. - * Work out the command and arguments and store the working directory. + * Now we have a pane with nothing running in it ready for the new + * process. Work out the command and arguments and store the working + * directory. */ if (sc->argc == 0 && (~sc->flags & SPAWN_RESPAWN)) { cmd = options_get_string(s->options, "default-command"); |