summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/cmd/rio/xfid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/src/cmd/rio/xfid.c b/sys/src/cmd/rio/xfid.c
index a66c94d58..91ee4897e 100644
--- a/sys/src/cmd/rio/xfid.c
+++ b/sys/src/cmd/rio/xfid.c
@@ -179,6 +179,7 @@ xfidattach(Xfid *x)
qlock(&all);
w = nil;
err = Eunkid;
+ dir = nil;
newlymade = FALSE;
hideit = 0;
scrollit = scrolling;
@@ -209,7 +210,7 @@ xfidattach(Xfid *x)
if(i){
if(pid == 0)
pid = -1; /* make sure we don't pop a shell! - UGH */
- w = new(i, hideit, scrollit, pid, nil, nil, nil);
+ w = new(i, hideit, scrollit, pid, dir, nil, nil);
newlymade = TRUE;
}else
err = Ewindow;