aboutsummaryrefslogtreecommitdiffstats
path: root/src/pty-unix.c
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-04-30 01:35:33 -0400
committerJesse Luehrs <doy@tozt.net>2014-04-30 01:35:33 -0400
commit256c8128f7138808a3e7ec0a667fe6aee4db0ccf (patch)
treee63d77f02482adf66d4018b0a8fdf5e20a575599 /src/pty-unix.c
parent9d5d2348b5e8cecd3ccfb15e32e8d83f0b765f04 (diff)
downloadrunes-256c8128f7138808a3e7ec0a667fe6aee4db0ccf.tar.gz
runes-256c8128f7138808a3e7ec0a667fe6aee4db0ccf.zip
move config stuff out to a separate struct
Diffstat (limited to 'src/pty-unix.c')
-rw-r--r--src/pty-unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pty-unix.c b/src/pty-unix.c
index c969394..3332535 100644
--- a/src/pty-unix.c
+++ b/src/pty-unix.c
@@ -44,7 +44,7 @@ void runes_pty_backend_spawn_subprocess(RunesTerm *t)
close(pty->slave);
- cmd = t->cmd;
+ cmd = t->config.cmd;
if (!cmd) {
cmd = getenv("SHELL");
}