Whitespace fixes

This commit is contained in:
John Wiegley 2009-02-15 19:43:46 -04:00
parent 2ec9b6a7b2
commit a1e1133c80

View file

@ -239,13 +239,13 @@ namespace {
// If the account for this xact is all virtual, then report the xact as // If the account for this xact is all virtual, then report the xact as
// such. This allows subtotal reports to show "(Account)" for accounts // such. This allows subtotal reports to show "(Account)" for accounts
// that contain only virtual xacts. // that contain only virtual xacts.
if (account && account->has_xdata()) {
if (account && account->has_xdata())
if (! account->xdata().has_flags(ACCOUNT_EXT_HAS_NON_VIRTUALS)) { if (! account->xdata().has_flags(ACCOUNT_EXT_HAS_NON_VIRTUALS)) {
xact.add_flags(XACT_VIRTUAL); xact.add_flags(XACT_VIRTUAL);
if (! account->xdata().has_flags(ACCOUNT_EXT_HAS_UNB_VIRTUALS)) if (! account->xdata().has_flags(ACCOUNT_EXT_HAS_UNB_VIRTUALS))
xact.add_flags(XACT_MUST_BALANCE); xact.add_flags(XACT_MUST_BALANCE);
} }
}
xact_t::xdata_t& xdata(xact.xdata()); xact_t::xdata_t& xdata(xact.xdata());