summaryrefslogtreecommitdiff
path: root/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'main.cc')
-rw-r--r--main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cc b/main.cc
index b34078f0..94440eaf 100644
--- a/main.cc
+++ b/main.cc
@@ -305,9 +305,9 @@ int parse_and_report(int argc, char * argv[], char * envp[])
if (account_has_xdata(*journal->master)) {
account_xdata_t& xdata = account_xdata(*journal->master);
- xdata.value = xdata.total;
if (xdata.dflags & ACCOUNT_TO_DISPLAY) {
*out << "--------------------\n";
+ xdata.value = xdata.total;
acct_formatter.format.format(*out, details_t(*journal->master));
}
}