summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-13 10:34:51 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-03-13 10:34:51 -0500
commitc4e942fcb163583e426dc1f65b0afb0bb75c21e3 (patch)
treee8b81afb009183f8808d52f7463b56c8ce738ef7 /src/report.h
parent70941cbd4a64f15df76a327d88e133429f76d4ea (diff)
downloadfork-ledger-c4e942fcb163583e426dc1f65b0afb0bb75c21e3.tar.gz
fork-ledger-c4e942fcb163583e426dc1f65b0afb0bb75c21e3.tar.bz2
fork-ledger-c4e942fcb163583e426dc1f65b0afb0bb75c21e3.zip
Change abbrev_len to int(abbrev_len)
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/report.h b/src/report.h
index c0398d4c..280b2f48 100644
--- a/src/report.h
+++ b/src/report.h
@@ -538,7 +538,7 @@ public:
" bold if should_bold))"
" %(ansify_if("
" ansify_if(justify(truncated(display_account, int(account_width), "
- " abbrev_len), int(account_width)),"
+ " int(abbrev_len)), int(account_width)),"
" blue if color),"
" bold if should_bold))"
" %(ansify_if("
@@ -886,7 +886,7 @@ public:
" bold if should_bold))"
" %(ansify_if("
" ansify_if(justify(truncated(display_account, int(account_width), "
- " abbrev_len), int(account_width)),"
+ " int(abbrev_len)), int(account_width)),"
" blue if color),"
" bold if should_bold))"
" %(ansify_if("
@@ -1027,7 +1027,6 @@ public:
OPTION(report_t, total_width_);
};
-
template <class Type = post_t,
class handler_ptr = post_handler_ptr,
void (report_t::*report_method)(handler_ptr) =