summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-18 07:27:35 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-18 07:27:35 -0400
commit9205809d4978ba6673fd759546375c26a156c09e (patch)
treed8d83043855707a82ee9c1d31c41d3dbefa8735c
parent6f73a4db0c27e4e25dacc519a9a1d7c10e370900 (diff)
downloadfork-ledger-9205809d4978ba6673fd759546375c26a156c09e.tar.gz
fork-ledger-9205809d4978ba6673fd759546375c26a156c09e.tar.bz2
fork-ledger-9205809d4978ba6673fd759546375c26a156c09e.zip
Fixed register formatting of postings with payees
-rw-r--r--src/report.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/report.h b/src/report.h
index 7d725b8c..7e52933a 100644
--- a/src/report.h
+++ b/src/report.h
@@ -819,7 +819,8 @@ public:
" 4 + meta_width + date_width + payee_width + account_width"
" + amount_width + total_width + prepend_width, true, color))\n%/"
"%(justify(\" \", date_width))"
- " %(justify((has_tag(\"Payee\") ? payee : \" \"), payee_width))"
+ " %(justify(truncated(has_tag(\"Payee\") ? payee : \" \", "
+ " payee_width), payee_width))"
" %$3 %$4 %$5\n");
});