summaryrefslogtreecommitdiff
path: root/src/global.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-27 22:25:19 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-27 22:25:19 -0400
commit6c9cf1237e1e813c2d56ed51a38cc0685614e8e0 (patch)
tree18fb188d4bfb45677ec0a660f0b6cd5019601621 /src/global.cc
parent432be9e98981104062917e248f570d4d9f1d21ce (diff)
downloadfork-ledger-6c9cf1237e1e813c2d56ed51a38cc0685614e8e0.tar.gz
fork-ledger-6c9cf1237e1e813c2d56ed51a38cc0685614e8e0.tar.bz2
fork-ledger-6c9cf1237e1e813c2d56ed51a38cc0685614e8e0.zip
Whitespace change
Diffstat (limited to 'src/global.cc')
-rw-r--r--src/global.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/global.cc b/src/global.cc
index e05b2bd8..2ce73bae 100644
--- a/src/global.cc
+++ b/src/global.cc
@@ -434,12 +434,10 @@ void global_scope_t::normalize_report_options(const string& verb)
else
rep.session.commodity_pool->price_db = none;
- if (rep.HANDLED(date_format_)) {
+ if (rep.HANDLED(date_format_))
set_date_format(rep.HANDLER(date_format_).str().c_str());
- }
- if (rep.HANDLED(datetime_format_)) {
+ if (rep.HANDLED(datetime_format_))
set_datetime_format(rep.HANDLER(datetime_format_).str().c_str());
- }
if (rep.HANDLED(start_of_week_)) {
if (optional<date_time::weekdays> weekday =
string_to_day_of_week(rep.HANDLER(start_of_week_).str()))