diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-07 05:15:43 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-07 05:17:00 -0500 |
commit | 832e53f30067c6638e37cc5a9405e3c9ed8e98fe (patch) | |
tree | 22c9f809c1b9793e56f5dd2a266bc6003314ad57 /src/report.h | |
parent | 3f00f8362c2fdfae1dbb6517bc29c75e308bc4f0 (diff) | |
download | fork-ledger-832e53f30067c6638e37cc5a9405e3c9ed8e98fe.tar.gz fork-ledger-832e53f30067c6638e37cc5a9405e3c9ed8e98fe.tar.bz2 fork-ledger-832e53f30067c6638e37cc5a9405e3c9ed8e98fe.zip |
Column widths are always calculated now
Diffstat (limited to 'src/report.h')
-rw-r--r-- | src/report.h | 36 |
1 files changed, 6 insertions, 30 deletions
diff --git a/src/report.h b/src/report.h index a489ed48..08582075 100644 --- a/src/report.h +++ b/src/report.h @@ -869,16 +869,7 @@ public: }); OPTION_(report_t, wide, DO() { // -w - parent->HANDLER(date_width_).on_with(string("--wide"), 9L); - parent->HANDLER(date_width_).specified = true; - parent->HANDLER(payee_width_).on_with(string("--wide"), 35L); - parent->HANDLER(payee_width_).specified = true; - parent->HANDLER(account_width_).on_with(string("--wide"), 39L); - parent->HANDLER(account_width_).specified = true; - parent->HANDLER(amount_width_).on_with(string("--wide"), 22L); - parent->HANDLER(amount_width_).specified = true; - parent->HANDLER(total_width_).on_with(string("--wide"), 22L); - parent->HANDLER(total_width_).specified = true; + parent->HANDLER(columns_).on_with(string("--wide"), 132L); }); OPTION_(report_t, yearly, DO() { // -Y @@ -887,38 +878,23 @@ public: OPTION__(report_t, date_width_, bool specified; - CTOR(report_t, date_width_) { - on_with(none, 9L); - specified = false; - } + CTOR(report_t, date_width_) { specified = false; } DO_(args) { value = args[1].to_long(); specified = true; }); OPTION__(report_t, payee_width_, bool specified; - CTOR(report_t, payee_width_) { - on_with(none, 20L); - specified = false; - } + CTOR(report_t, payee_width_) { specified = false; } DO_(args) { value = args[1].to_long(); specified = true; }); OPTION__(report_t, account_width_, bool specified; - CTOR(report_t, account_width_) { - on_with(none, 23L); - specified = false; - } + CTOR(report_t, account_width_) { specified = false; } DO_(args) { value = args[1].to_long(); specified = true; }); OPTION__(report_t, amount_width_, bool specified; - CTOR(report_t, amount_width_) { - on_with(none, 12L); - specified = false; - } + CTOR(report_t, amount_width_) { specified = false; } DO_(args) { value = args[1].to_long(); specified = true; }); OPTION__(report_t, total_width_, bool specified; - CTOR(report_t, total_width_) { - on_with(none, 12L); - specified = false; - } + CTOR(report_t, total_width_) { specified = false; } DO_(args) { value = args[1].to_long(); specified = true; }); }; |