diff options
author | John Wiegley <johnw@newartisans.com> | 2006-03-19 21:10:51 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 05:48:44 -0400 |
commit | 86a6af697433cd81fa842e6340a0ae2d8cb459a0 (patch) | |
tree | 5e09346d6f299c31b4206922d15b845a580f3762 /amount.cc | |
parent | 80c472733baf078ac275c02adf0bafff82803464 (diff) | |
download | fork-ledger-86a6af697433cd81fa842e6340a0ae2d8cb459a0.tar.gz fork-ledger-86a6af697433cd81fa842e6340a0ae2d8cb459a0.tar.bz2 fork-ledger-86a6af697433cd81fa842e6340a0ae2d8cb459a0.zip |
*** no comment ***
Diffstat (limited to 'amount.cc')
-rw-r--r-- | amount.cc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; } } |