diff options
Diffstat (limited to 'src/report.cc')
-rw-r--r-- | src/report.cc | 6 |
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) |