diff options
author | rsc <devnull@localhost> | 2004-09-28 16:23:32 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-09-28 16:23:32 +0000 |
commit | 8537259f82977ba1bb9626520e6b3b245bf4d74f (patch) | |
tree | 5823d78d5baa5b6711e197d38eca722c9ed1ae22 /src/lib9/fmt | |
parent | 53998c99d6e793522fdd4afcb25ab6fb7427ec9c (diff) | |
download | plan9port-8537259f82977ba1bb9626520e6b3b245bf4d74f.tar.gz plan9port-8537259f82977ba1bb9626520e6b3b245bf4d74f.tar.bz2 plan9port-8537259f82977ba1bb9626520e6b3b245bf4d74f.zip |
Fix bug in rune half of __fmtcpy reported by rob.
Diffstat (limited to 'src/lib9/fmt')
-rw-r--r-- | src/lib9/fmt/dofmt.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib9/fmt/dofmt.c b/src/lib9/fmt/dofmt.c index d26f7158..39a3d347 100644 --- a/src/lib9/fmt/dofmt.c +++ b/src/lib9/fmt/dofmt.c @@ -161,8 +161,6 @@ __fmtcpy(Fmt *f, const void *vm, int n, int sz) } f->nfmt += rt - (Rune *)f->to; f->to = rt; - if(m < me) - return -1; if(fl & FmtLeft && __rfmtpad(f, w - n) < 0) return -1; }else{ |