diff options
author | John Wiegley <johnw@newartisans.com> | 2012-02-26 16:42:01 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-02-26 16:42:50 -0600 |
commit | bb0c5344145cd79fa54a92f236628eebbe6f2f68 (patch) | |
tree | 31b2362c11f73c685d474d6991960f339e25639e /src/print.cc | |
parent | 7553df5600c89b6724e83b72c7f78e85fa090a32 (diff) | |
download | fork-ledger-bb0c5344145cd79fa54a92f236628eebbe6f2f68.tar.gz fork-ledger-bb0c5344145cd79fa54a92f236628eebbe6f2f68.tar.bz2 fork-ledger-bb0c5344145cd79fa54a92f236628eebbe6f2f68.zip |
Revert behavior of 40ab81308025e9655074da37671c444b4257f867
Diffstat (limited to 'src/print.cc')
-rw-r--r-- | src/print.cc | 9 |
1 files changed, 6 insertions, 3 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); |