aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acme/xfid.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2003-12-17 04:34:52 +0000
committerrsc <devnull@localhost>2003-12-17 04:34:52 +0000
commit49588d5d9089589ccda28c41aae90c29d6f72787 (patch)
tree48cbc911e34b71977b7b98b4d0b94b27d4454081 /src/cmd/acme/xfid.c
parent7f11104a5737adf261d10bc1a7b85e740f2eb491 (diff)
downloadplan9port-49588d5d9089589ccda28c41aae90c29d6f72787.tar.gz
plan9port-49588d5d9089589ccda28c41aae90c29d6f72787.tar.bz2
plan9port-49588d5d9089589ccda28c41aae90c29d6f72787.zip
Tweaks to various bits.
Until I hear otherwise, Refs aren't used enough to merit their own assembly. They are now implemented with locks.
Diffstat (limited to 'src/cmd/acme/xfid.c')
-rw-r--r--src/cmd/acme/xfid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/acme/xfid.c b/src/cmd/acme/xfid.c
index f397623e..13af7395 100644
--- a/src/cmd/acme/xfid.c
+++ b/src/cmd/acme/xfid.c
@@ -194,6 +194,7 @@ xfidclose(Xfid *x)
w = x->f->w;
x->f->busy = FALSE;
+ x->f->w = nil;
if(x->f->open == FALSE){
if(w != nil)
winclose(w);