summaryrefslogtreecommitdiff
path: root/src/report.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-27 02:59:16 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-27 02:59:16 -0400
commitc57c85c92f352acd6eefa309344dae7f98cf7f31 (patch)
tree64f01573613af1a55581ecea1050cee293110646 /src/report.cc
parente1eb12a6e450f59b9e084378a77b9e496c0fa843 (diff)
downloadfork-ledger-c57c85c92f352acd6eefa309344dae7f98cf7f31.tar.gz
fork-ledger-c57c85c92f352acd6eefa309344dae7f98cf7f31.tar.bz2
fork-ledger-c57c85c92f352acd6eefa309344dae7f98cf7f31.zip
Changed the "truncate" valexpr func to "truncated"
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 980b7892..3d3e089a 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -203,7 +203,7 @@ value_t report_t::fn_quantity(call_scope_t& scope)
return args.get<amount_t>(0).number();
}
-value_t report_t::fn_truncate(call_scope_t& scope)
+value_t report_t::fn_truncated(call_scope_t& scope)
{
interactive_t args(scope, "v&ll");
return string_value(format_t::truncate
@@ -740,8 +740,8 @@ expr_t::ptr_op_t report_t::lookup(const string& name)
break;
case 't':
- if (is_eq(p, "truncate"))
- return MAKE_FUNCTOR(report_t::fn_truncate);
+ if (is_eq(p, "truncated"))
+ return MAKE_FUNCTOR(report_t::fn_truncated);
else if (is_eq(p, "total_expr"))
return MAKE_FUNCTOR(report_t::fn_total_expr);
break;