summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-15 19:43:46 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-15 19:43:46 -0400
commita1e1133c806258c5d144c1a2eca64f7d0822e84f (patch)
tree17f2ef06c2d861ac3026b941cef88ebe27ae1db1 /src
parent2ec9b6a7b24cdd3573a675bc3a27fbd3160ede26 (diff)
downloadledger-a1e1133c806258c5d144c1a2eca64f7d0822e84f.tar.gz
ledger-a1e1133c806258c5d144c1a2eca64f7d0822e84f.tar.bz2
ledger-a1e1133c806258c5d144c1a2eca64f7d0822e84f.zip
Whitespace fixes
Diffstat (limited to 'src')
-rw-r--r--src/filters.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/filters.cc b/src/filters.cc
index 8d8589e4..0111daf0 100644
--- a/src/filters.cc
+++ b/src/filters.cc
@@ -228,7 +228,7 @@ namespace {
unsigned int flags,
std::list<xact_t>& temps,
item_handler<xact_t>& handler,
- const date_t& date = date_t())
+ const date_t& date = date_t())
{
temps.push_back(xact_t(account));
xact_t& xact(temps.back());
@@ -239,13 +239,13 @@ namespace {
// If the account for this xact is all virtual, then report the xact as
// such. This allows subtotal reports to show "(Account)" for accounts
// 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)) {
xact.add_flags(XACT_VIRTUAL);
if (! account->xdata().has_flags(ACCOUNT_EXT_HAS_UNB_VIRTUALS))
xact.add_flags(XACT_MUST_BALANCE);
}
+ }
xact_t::xdata_t& xdata(xact.xdata());