summaryrefslogtreecommitdiff
path: root/xact.cc
diff options
context:
space:
mode:
Diffstat (limited to 'xact.cc')
-rw-r--r--xact.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/xact.cc b/xact.cc
index 02dc1842..dd4269a0 100644
--- a/xact.cc
+++ b/xact.cc
@@ -105,12 +105,12 @@ namespace {
{
xact_t& xact(downcast<xact_t>(*scope.parent));
- var_t<long> width(scope, 0);
+ var_t<long> max_width(scope, 0);
string name = xact.reported_account()->fullname();
- if (width && *width > 2)
- name = format_t::truncate(name, *width - 2, true);
+ if (max_width && *max_width > 2)
+ name = format_t::truncate(name, *max_width - 2, true);
if (xact.has_flags(XACT_VIRTUAL)) {
if (xact.must_balance())