summaryrefslogtreecommitdiff
path: root/src/report.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2011-02-10 23:00:41 -0500
committerJohn Wiegley <johnw@newartisans.com>2011-02-10 23:00:41 -0500
commitc2b5b1a516cdc065d14047176116900d2bab867e (patch)
treee83acda94d517a4f23155d02f4855bd6ab5de5fc /src/report.cc
parent20f4ccde96de05cdbd330e6bbb94af363bef486a (diff)
downloadfork-ledger-c2b5b1a516cdc065d14047176116900d2bab867e.tar.gz
fork-ledger-c2b5b1a516cdc065d14047176116900d2bab867e.tar.bz2
fork-ledger-c2b5b1a516cdc065d14047176116900d2bab867e.zip
Whitespace corrections
Diffstat (limited to 'src/report.cc')
-rw-r--r--src/report.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/report.cc b/src/report.cc
index 48b47b66..5fff77c7 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -622,9 +622,9 @@ value_t report_t::fn_truncated(call_scope_t& args)
{
return string_value(format_t::truncate
(args.get<string>(0),
- args.has<int>(1) &&
- args.get<int>(1) > 0 ? args.get<int>(1) : 0,
- args.has<int>(2) ? args.get<int>(2) : 0));
+ (args.has<int>(1) &&
+ args.get<int>(1) > 0) ? args.get<int>(1) : 0,
+ args.has<int>(2) ? args.get<int>(2) : 0));
}
value_t report_t::fn_justify(call_scope_t& args)