diff options
author | John Wiegley <johnw@newartisans.com> | 2013-05-23 03:23:38 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2013-05-23 03:23:49 -0500 |
commit | a79cf36c64efb9473b08f8af7c9236871f414f49 (patch) | |
tree | ca6cc13dba0d82427210aeeef647deefa5425409 /src/account.cc | |
parent | 30a7a6800c0e409f647b9bcfa067879a5f317dba (diff) | |
download | fork-ledger-a79cf36c64efb9473b08f8af7c9236871f414f49.tar.gz fork-ledger-a79cf36c64efb9473b08f8af7c9236871f414f49.tar.bz2 fork-ledger-a79cf36c64efb9473b08f8af7c9236871f414f49.zip |
Fix #784
Diffstat (limited to 'src/account.cc')
-rw-r--r-- | src/account.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/account.cc b/src/account.cc index c3fc80f1..58812db9 100644 --- a/src/account.cc +++ b/src/account.cc @@ -380,9 +380,7 @@ expr_t::ptr_op_t account_t::lookup(const symbol_t::kind_t kind, break; case 'd': - if (fn_name == "date") - return WRAP_FUNCTOR(get_wrapper<&get_latest>); - else if (fn_name == "depth") + if (fn_name == "depth") return WRAP_FUNCTOR(get_wrapper<&get_depth>); else if (fn_name == "depth_spacer") return WRAP_FUNCTOR(get_wrapper<&get_depth_spacer>); |