summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-18 02:18:44 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-18 02:18:44 -0400
commit5f989f7d9f6f41df90b2272dfcc7c4332f12cfcb (patch)
tree88b4b72e73cd88895bcdb96f88e3118255a25c08
parent805a78c121eb0b05fd52439ad658e1eb2cc81a48 (diff)
downloadledger-5f989f7d9f6f41df90b2272dfcc7c4332f12cfcb.tar.gz
ledger-5f989f7d9f6f41df90b2272dfcc7c4332f12cfcb.tar.bz2
ledger-5f989f7d9f6f41df90b2272dfcc7c4332f12cfcb.zip
Corrected printing of assigned amounts
-rw-r--r--src/print.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print.cc b/src/print.cc
index de35a31d..03c87884 100644
--- a/src/print.cc
+++ b/src/print.cc
@@ -201,7 +201,7 @@ namespace {
}
if (post->assigned_amount)
- amtbuf << " = " << post->assigned_amount;
+ amtbuf << " = " << *post->assigned_amount;
string trailer = amtbuf.str();
out << trailer;