diff options
Diffstat (limited to 'src/cmd/acme/ecmd.c')
-rw-r--r-- | src/cmd/acme/ecmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/acme/ecmd.c b/src/cmd/acme/ecmd.c index 7c625747..575c5a27 100644 --- a/src/cmd/acme/ecmd.c +++ b/src/cmd/acme/ecmd.c @@ -1322,7 +1322,7 @@ cmdname(File *f, String *str, int set) }else{ newname = dirname(f->curtext, runestrdup(s), n); n = newname.nr; - r = runemalloc(n+1); + r = runemalloc(n+1); /* NUL terminate */ runemove(r, newname.r, n); free(newname.r); } |