%.f should have zero precision, not default precision
This commit is contained in:
parent
c03f55ec3a
commit
e787f6b74b
@ -439,6 +439,8 @@ void PrintfFormatter<Char, AF>::format(BasicCStringRef<Char> format_str) {
|
|||||||
} else if (*s == '*') {
|
} else if (*s == '*') {
|
||||||
++s;
|
++s;
|
||||||
spec.precision_ = internal::PrecisionHandler().visit(get_arg(s));
|
spec.precision_ = internal::PrecisionHandler().visit(get_arg(s));
|
||||||
|
} else {
|
||||||
|
spec.precision_ = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user