diff options
author | Thomas Adam <thomas@xteddy.org> | 2020-03-02 23:09:48 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2020-03-02 23:09:48 +0000 |
commit | ccd24c9cb242b736aa4431ed002ccdc491c49b92 (patch) | |
tree | a09c2a4f0dffd6b89cfd1ebb3ec23f749f774cb2 /spawn.c | |
parent | 549b3599ef7db9f222c64130aa4f1bf6678813f2 (diff) | |
parent | 8be179de4669a76464d664d9af6b3301ca3f286d (diff) | |
download | rtmux-ccd24c9cb242b736aa4431ed002ccdc491c49b92.tar.gz rtmux-ccd24c9cb242b736aa4431ed002ccdc491c49b92.tar.bz2 rtmux-ccd24c9cb242b736aa4431ed002ccdc491c49b92.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'spawn.c')
-rw-r--r-- | spawn.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -228,9 +228,9 @@ spawn_pane(struct spawn_context *sc, char **cause) * the pane's stored one unless specified. */ if (sc->cwd != NULL) - cwd = format_single(item, sc->cwd, c, s, NULL, NULL); + cwd = format_single(item, sc->cwd, c, item->target.s, NULL, NULL); else if (~sc->flags & SPAWN_RESPAWN) - cwd = xstrdup(server_client_get_cwd(c, s)); + cwd = xstrdup(server_client_get_cwd(c, item->target.s)); else cwd = NULL; |