diff options
author | John Wiegley <johnw@newartisans.com> | 2009-10-28 01:43:04 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-10-28 01:43:04 -0400 |
commit | 18a1c8a3fb7bdd1fc3eba8c5ab799ef79cd73b7c (patch) | |
tree | babada4e5ab9b6da900194013817990a69544a62 | |
parent | a53874d56c3d9be05b015bec7bd42a14460ab152 (diff) | |
download | fork-ledger-18a1c8a3fb7bdd1fc3eba8c5ab799ef79cd73b7c.tar.gz fork-ledger-18a1c8a3fb7bdd1fc3eba8c5ab799ef79cd73b7c.tar.bz2 fork-ledger-18a1c8a3fb7bdd1fc3eba8c5ab799ef79cd73b7c.zip |
No more trailing spaces in the print report
-rw-r--r-- | src/report.h | 6 | ||||
-rw-r--r-- | test/regress/793F6BF0.test | 2 | ||||
-rw-r--r-- | test/regress/B68FFB0D.test | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/report.h b/src/report.h index 7b840dea..b6133512 100644 --- a/src/report.h +++ b/src/report.h @@ -691,12 +691,12 @@ public: " \"\") %(payee)%(xact.comment)\n" " %(xact.uncleared ?" " (cleared ? \"* \" : (pending ? \"! \" : \"\")) : \"\")" - "%-34(account)" - " %12(calculated ? \"\" : justify(scrub(amount), 12, -1, true))" + "%(calculated ? account : justify(account, 34, -1, false))" + "%(calculated ? \"\" : \" \" + justify(scrub(amount), 12, -1, true))" "%(has_cost & !cost_calculated ?" " \" @ \" + justify(scrub(abs(cost / amount)), 0) : \"\")" "%(comment)\n%/" - " %$7%$8 %$9%$A%$B\n%/\n"); + " %$7%$8%$9%$A%$B\n%/\n"); }); OPTION_(report_t, quantity, DO() { // -O diff --git a/test/regress/793F6BF0.test b/test/regress/793F6BF0.test index a4e1234c..754ddca3 100644 --- a/test/regress/793F6BF0.test +++ b/test/regress/793F6BF0.test @@ -47,6 +47,6 @@ N $ >>>1 2009/03/15 Book Store Expenses:Books $10.00 - Liabilities:MasterCard + Liabilities:MasterCard >>>2 === 0 diff --git a/test/regress/B68FFB0D.test b/test/regress/B68FFB0D.test index 3a43df4c..2dd2086c 100644 --- a/test/regress/B68FFB0D.test +++ b/test/regress/B68FFB0D.test @@ -10,6 +10,6 @@ D $1,000.00 2009/01/01 Sample assets 134.123 FOO @ $8.88 assets 100 BAR @ $8.88 - equity + equity >>>2 === 0 |