In value_t::print, pass along display flags
This commit is contained in:
parent
14476a63f4
commit
da2f415f14
1 changed files with 1 additions and 1 deletions
|
|
@ -1726,7 +1726,7 @@ void value_t::print(std::ostream& out,
|
|||
out << 0;
|
||||
} else {
|
||||
std::ostringstream buf;
|
||||
as_amount().print(buf, flags & AMOUNT_PRINT_NO_COMPUTED_ANNOTATIONS);
|
||||
as_amount().print(buf, flags);
|
||||
justify(out, buf.str(), first_width, flags & AMOUNT_PRINT_RIGHT_JUSTIFY,
|
||||
flags & AMOUNT_PRINT_COLORIZE && as_amount().sign() < 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue