Change abbrev_len to int(abbrev_len)

This commit is contained in:
John Wiegley 2012-03-13 10:34:51 -05:00
parent 70941cbd4a
commit c4e942fcb1

View file

@ -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) =