diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-03 23:44:18 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-03 23:44:18 -0400 |
commit | bcffbc96ba88bd19f5f8ac00015ff38131fd6466 (patch) | |
tree | 7f4a9646bb05f138b00cdc7127dd45cc05142cb5 /xact.cc | |
parent | 8a21391d0a6d6187855b40530f25b1d8beb0d67a (diff) | |
download | fork-ledger-bcffbc96ba88bd19f5f8ac00015ff38131fd6466.tar.gz fork-ledger-bcffbc96ba88bd19f5f8ac00015ff38131fd6466.tar.bz2 fork-ledger-bcffbc96ba88bd19f5f8ac00015ff38131fd6466.zip |
Regular expressions are working again, such that very basic register reports
are now possible.
Diffstat (limited to 'xact.cc')
-rw-r--r-- | xact.cc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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()) |