diff options
author | John Wiegley <johnw@newartisans.com> | 2003-10-10 19:07:26 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2003-10-10 19:07:26 +0000 |
commit | 0d4fc1b5d68cd092114524a5c15bcd232eeee0fe (patch) | |
tree | ec6df96f2996e2f1bb0f867aeaee8b84c6e21f86 /reports.cc | |
parent | 60fa58e847fd8368059e13e6d9b941fc0e75291b (diff) | |
download | fork-ledger-0d4fc1b5d68cd092114524a5c15bcd232eeee0fe.tar.gz fork-ledger-0d4fc1b5d68cd092114524a5c15bcd232eeee0fe.tar.bz2 fork-ledger-0d4fc1b5d68cd092114524a5c15bcd232eeee0fe.zip |
*** empty log message ***
Diffstat (limited to 'reports.cc')
-rw-r--r-- | reports.cc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -231,9 +231,13 @@ void print_register(const std::string& acct_name, std::ostream& out, } else { xact = *x; } + std::string xact_str = xact->acct_as_str(); + + if (xact == *x && ! show_subtotals) + xact_str = "(Splits...)"; out.width(22); - out << std::left << truncated(xact->acct_as_str(), 22) << " "; + out << std::left << truncated(xact_str(), 22) << " "; out.width(12); out << std::right << street->as_str(true); |