summaryrefslogtreecommitdiff
path: root/src/filters.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2015-08-04 14:47:44 -0700
committerJohn Wiegley <johnw@newartisans.com>2015-08-04 14:47:44 -0700
commita24910b3740b572db15fda4bd574222090e16d79 (patch)
treec55016e39e293fc8fa0016eb1eeb4be1bc439b68 /src/filters.cc
parenta3e946f90f902600819f64217c8cd98c72bb21ba (diff)
downloadfork-ledger-a24910b3740b572db15fda4bd574222090e16d79.tar.gz
fork-ledger-a24910b3740b572db15fda4bd574222090e16d79.tar.bz2
fork-ledger-a24910b3740b572db15fda4bd574222090e16d79.zip
Whitespace cleanup
Diffstat (limited to 'src/filters.cc')
-rw-r--r--src/filters.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/filters.cc b/src/filters.cc
index d9fb64b0..ef713f1f 100644
--- a/src/filters.cc
+++ b/src/filters.cc
@@ -448,7 +448,7 @@ void collapse_posts::report_subtotal()
DEBUG("filters.collapse", "Pseudo-xact date = " << *xact._date);
DEBUG("filters.collapse", "earliest date = " << earliest_date);
DEBUG("filters.collapse", "latest date = " << latest_date);
-
+
foreach (totals_map::value_type& pat, totals) {
handle_value(/* value= */ pat.second,
/* account= */ &temps.create_account(pat.first),
@@ -476,10 +476,10 @@ value_t& collapse_posts::find_totals(account_t* account)
if(depth==0)
return totals[_("<Total>")];
-
+
if(account->depth==depth)
return totals[account->fullname()];
-
+
//else recurse
return find_totals(account->parent);
}