diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-30 19:11:33 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-30 19:11:33 +0000 |
commit | ce2dc2a66af7ae9b92ec747fa7e5cbd0b78e0377 (patch) | |
tree | 3f4b38737ed7f6010524636af989b957fffdca5e /cmd-respawn-window.c | |
parent | 8969a8beafcf7ba81c55eb1a8e036066ba1bace5 (diff) |
Set up environ properly.
Diffstat (limited to 'cmd-respawn-window.c')
-rw-r--r-- | cmd-respawn-window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-respawn-window.c b/cmd-respawn-window.c index 429beba5..e13e179e 100644 --- a/cmd-respawn-window.c +++ b/cmd-respawn-window.c @@ -1,4 +1,4 @@ -/* $Id: cmd-respawn-window.c,v 1.2 2008-06-30 18:45:02 nicm Exp $ */ +/* $Id: cmd-respawn-window.c,v 1.3 2008-06-30 19:11:33 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net> @@ -45,7 +45,7 @@ cmd_respawn_window_exec(struct cmd *self, struct cmd_ctx *ctx) struct cmd_target_data *data = self->data; struct winlink *wl; struct session *s; - const char *env[] = { NULL, "TERM=screen", NULL }; + const char *env[] = { "TERM=screen", NULL }; if ((wl = cmd_find_window(ctx, data->target, &s)) == NULL) return; |