summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-08-29 04:32:25 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-08-29 04:32:25 -0400
commit06a5792212d05d235b101123efb3d81590c0aacc (patch)
treeee3891ae05d6871c04c817af38b38eaa9bdeda67 /src
parent1765fb8607291ec26a9d0d5f3aa12c30840ec8b8 (diff)
downloadfork-ledger-06a5792212d05d235b101123efb3d81590c0aacc.tar.gz
fork-ledger-06a5792212d05d235b101123efb3d81590c0aacc.tar.bz2
fork-ledger-06a5792212d05d235b101123efb3d81590c0aacc.zip
Output balances when converting to strings, as this is needed by debugging
code sometimes.
Diffstat (limited to 'src')
-rw-r--r--src/value.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/value.cc b/src/value.cc
index 614a1afb..b079c54b 100644
--- a/src/value.cc
+++ b/src/value.cc
@@ -1664,7 +1664,7 @@ void value_t::print(std::ostream& out, const bool relaxed) const
case BALANCE:
case BALANCE_PAIR:
- assert(false);
+ out << as_balance();
break;
case DATETIME: