Fix bug in rune half of __fmtcpy reported by rob.
This commit is contained in:
parent
53998c99d6
commit
8537259f82
1 changed files with 0 additions and 2 deletions
|
|
@ -161,8 +161,6 @@ __fmtcpy(Fmt *f, const void *vm, int n, int sz)
|
||||||
}
|
}
|
||||||
f->nfmt += rt - (Rune *)f->to;
|
f->nfmt += rt - (Rune *)f->to;
|
||||||
f->to = rt;
|
f->to = rt;
|
||||||
if(m < me)
|
|
||||||
return -1;
|
|
||||||
if(fl & FmtLeft && __rfmtpad(f, w - n) < 0)
|
if(fl & FmtLeft && __rfmtpad(f, w - n) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
}else{
|
}else{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue