From bb0c5344145cd79fa54a92f236628eebbe6f2f68 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 26 Feb 2012 16:42:01 -0600 Subject: Revert behavior of 40ab81308025e9655074da37671c444b4257f867 --- src/print.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/print.cc') 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); -- cgit v1.2.3