From 8537259f82977ba1bb9626520e6b3b245bf4d74f Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 28 Sep 2004 16:23:32 +0000 Subject: Fix bug in rune half of __fmtcpy reported by rob. --- src/lib9/fmt/dofmt.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/lib9/fmt') 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{ -- cgit v1.2.3