From 86a6af697433cd81fa842e6340a0ae2d8cb459a0 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 19 Mar 2006 21:10:51 +0000 Subject: *** no comment *** --- amount.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'amount.cc') diff --git a/amount.cc b/amount.cc index c22e229b..4662dbad 100644 --- a/amount.cc +++ b/amount.cc @@ -835,13 +835,13 @@ std::ostream& operator<<(std::ostream& _out, const amount_t& amt) std::string ender; if (i == len) ender = str; - else if (i < comm.precision()) - ender = std::string(str, 0, comm.precision()); + else if (i < comm.precision) + ender = std::string(str, 0, comm.precision); else ender = std::string(str, 0, i); if (! ender.empty()) { - out << ((comm.flags() & COMMODITY_STYLE_EUROPEAN) ? ',' : '.'); + out << ((comm.flags & COMMODITY_STYLE_EUROPEAN) ? ',' : '.'); out << ender; } } -- cgit v1.2.3