diff options
Diffstat (limited to 'src/xact.h')
-rw-r--r-- | src/xact.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -45,10 +45,10 @@ typedef std::list<xact_t *> xacts_list; class xact_t : public item_t { public: -#define XACT_VIRTUAL 0x0100 // the account was specified with (parens) -#define XACT_BALANCE 0x0200 // the account was specified with [brackets] -#define XACT_AUTO 0x0400 // transaction created by automated entry -#define XACT_CALCULATED 0x0800 // transaction's amount was auto-calculated +#define XACT_VIRTUAL 0x0100 // the account was specified with (parens) +#define XACT_MUST_BALANCE 0x0200 // the account was specified with [brackets] +#define XACT_AUTO 0x0400 // transaction created by automated entry +#define XACT_CALCULATED 0x0800 // transaction's amount was auto-calculated entry_t * entry; // only set for xacts of regular entries account_t * account; @@ -96,7 +96,7 @@ public: virtual state_t state() const; bool must_balance() const { - return ! has_flags(XACT_VIRTUAL) || has_flags(XACT_BALANCE); + return ! has_flags(XACT_VIRTUAL) || has_flags(XACT_MUST_BALANCE); } virtual expr_t::ptr_op_t lookup(const string& name); |