summaryrefslogtreecommitdiff
path: root/src/xact.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-09-19 08:31:17 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-09-19 08:31:17 -0400
commit0e95974360464212de55803c4fc6c671502dbf99 (patch)
treea4561bc39979f6368acbcf4058bdcf238cccde62 /src/xact.h
parenteb425536d42734602429fef049479b3c379f28d9 (diff)
downloadfork-ledger-0e95974360464212de55803c4fc6c671502dbf99.tar.gz
fork-ledger-0e95974360464212de55803c4fc6c671502dbf99.tar.bz2
fork-ledger-0e95974360464212de55803c4fc6c671502dbf99.zip
Changed some of the transaction flags, since all must fit in 8 bits.
Diffstat (limited to 'src/xact.h')
-rw-r--r--src/xact.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xact.h b/src/xact.h
index e93d97d3..4ac5d751 100644
--- a/src/xact.h
+++ b/src/xact.h
@@ -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_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
+#define XACT_VIRTUAL 0x10 // the account was specified with (parens)
+#define XACT_MUST_BALANCE 0x20 // the account was specified with [brackets]
+#define XACT_AUTO 0x40 // transaction created by automated entry
+#define XACT_CALCULATED 0x80 // transaction's amount was auto-calculated
entry_t * entry; // only set for xacts of regular entries
account_t * account;