summaryrefslogtreecommitdiffstats
path: root/src/cmd/acme/util.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-12-27 01:16:26 +0000
committerrsc <devnull@localhost>2004-12-27 01:16:26 +0000
commit6d7fdb243ca2611e31648d57c8b3ac4101407cfa (patch)
treec06f6a7764885fd4b4d15eb776c77fb4fc505b0b /src/cmd/acme/util.c
parent334cb1e91ceb2d667c1cfd0b71aa9801bef089ec (diff)
downloadplan9port-6d7fdb243ca2611e31648d57c8b3ac4101407cfa.tar.gz
plan9port-6d7fdb243ca2611e31648d57c8b3ac4101407cfa.zip
changes from plan 9
Diffstat (limited to 'src/cmd/acme/util.c')
-rw-r--r--src/cmd/acme/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/acme/util.c b/src/cmd/acme/util.c
index 4fa3fec0..f9387df5 100644
--- a/src/cmd/acme/util.c
+++ b/src/cmd/acme/util.c
@@ -83,7 +83,7 @@ errorwin1(Rune *dir, int ndir, Rune **incl, int nincl)
static Rune Lpluserrors[] = { '+', 'E', 'r', 'r', 'o', 'r', 's', 0 };
r = runemalloc(ndir+8);
- if(n = ndir){ /* assign = */
+ if((n = ndir) != 0){
runemove(r, dir, ndir);
r[n++] = L'/';
}