From ce2dc2a66af7ae9b92ec747fa7e5cbd0b78e0377 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 30 Jun 2008 19:11:33 +0000 Subject: Set up environ properly. --- cmd-respawn-window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd-respawn-window.c') 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 @@ -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; -- cgit