diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-17 19:48:42 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-17 19:48:42 -0400 |
commit | 93d195f1d97c376c26e5a7e88d6b0fc6e3b8e2d0 (patch) | |
tree | f72c2d5adb24d446eaa763f56b2db47342df0045 /src/account.h | |
parent | 07f4aefdfde719c57aa4574a53e1f33b6e295a58 (diff) | |
download | fork-ledger-93d195f1d97c376c26e5a7e88d6b0fc6e3b8e2d0.tar.gz fork-ledger-93d195f1d97c376c26e5a7e88d6b0fc6e3b8e2d0.tar.bz2 fork-ledger-93d195f1d97c376c26e5a7e88d6b0fc6e3b8e2d0.zip |
Only display a final balance total if necessary
In the case where only one top-level account is being reported, there is
no reason to duplicate the total balance shown.
Diffstat (limited to 'src/account.h')
-rw-r--r-- | src/account.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/account.h b/src/account.h index bd0210db..d97df2e0 100644 --- a/src/account.h +++ b/src/account.h @@ -118,12 +118,12 @@ class account_t : public scope_t struct xdata_t : public supports_flags<> { -#define ACCOUNT_EXT_DISPLAYED 0x01 -#define ACCOUNT_EXT_SORT_CALC 0x02 -#define ACCOUNT_EXT_HAS_NON_VIRTUALS 0x04 -#define ACCOUNT_EXT_HAS_UNB_VIRTUALS 0x08 -#define ACCOUNT_EXT_VISITED 0x10 -#define ACCOUNT_EXT_MATCHING 0x20 +#define ACCOUNT_EXT_SORT_CALC 0x01 +#define ACCOUNT_EXT_HAS_NON_VIRTUALS 0x02 +#define ACCOUNT_EXT_HAS_UNB_VIRTUALS 0x04 +#define ACCOUNT_EXT_VISITED 0x08 +#define ACCOUNT_EXT_MATCHING 0x10 +#define ACCOUNT_EXT_DISPLAYED 0x20 value_t value; value_t total; |