summaryrefslogtreecommitdiff
path: root/src/output.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-03-11 19:08:52 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-03-11 19:08:52 -0400
commit97784f72a29a48e204489bdd1bcc79b87563d1f9 (patch)
treef22d4a3b4f507021debb826c95797939338bea5c /src/output.cc
parent93e9b2b7af6a963967e44f8f9fb0213d3d48977c (diff)
downloadfork-ledger-97784f72a29a48e204489bdd1bcc79b87563d1f9.tar.gz
fork-ledger-97784f72a29a48e204489bdd1bcc79b87563d1f9.tar.bz2
fork-ledger-97784f72a29a48e204489bdd1bcc79b87563d1f9.zip
Moved a variable initialization
Diffstat (limited to 'src/output.cc')
-rw-r--r--src/output.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output.cc b/src/output.cc
index 3e9b1abd..4fd3058a 100644
--- a/src/output.cc
+++ b/src/output.cc
@@ -190,10 +190,10 @@ void format_accounts::flush()
disp_pred.predicate.parse(report.HANDLER(display_).str());
}
- std::size_t top_displayed = 0;
-
mark_accounts(*report.session.master, report.HANDLED(flat));
+ std::size_t top_displayed = 0;
+
foreach (account_t * account, posted_accounts) {
post_account(*account);