summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/print.cc9
-rw-r--r--test/baseline/opt-equity.test2
2 files changed, 7 insertions, 4 deletions
diff --git a/src/print.cc b/src/print.cc
index 6725a336..a90ea220 100644
--- a/src/print.cc
+++ b/src/print.cc
@@ -176,11 +176,14 @@ namespace {
string amt;
if (post->amount_expr) {
amt = post->amount_expr->text();
- }
- else if (! (count == 2 && index == 2 &&
+ } else
+#if 0
+ if (! (count == 2 && index == 2 &&
(*xact.posts.begin())->amount.commodity() ==
post->amount.commodity() &&
- ! (*xact.posts.begin())->cost && ! post->cost)) {
+ ! (*xact.posts.begin())->cost && ! post->cost))
+#endif
+ {
int amount_width =
(report.HANDLER(amount_width_).specified ?
report.HANDLER(amount_width_).value.to_int() : 12);
diff --git a/test/baseline/opt-equity.test b/test/baseline/opt-equity.test
index 90f4743a..d8695759 100644
--- a/test/baseline/opt-equity.test
+++ b/test/baseline/opt-equity.test
@@ -5,5 +5,5 @@
test equity assets
2007/02/02 Opening Balances
Assets:Investments:Vanguard:VMMXX 0.350 VMMXX
- Equity:Opening Balances
+ Equity:Opening Balances -0.350 VMMXX
end test