summaryrefslogtreecommitdiff
path: root/format.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-09 17:38:05 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-09 17:38:05 -0400
commit6e6246c927ab0d39dfd65f20e51c3f1b036c8ea9 (patch)
tree20ad7233464142934da2c5d958edc8c0bdae65af /format.h
parent05b2cc46fdf6accd2ecbdc3c1ce86829bc7bfa68 (diff)
downloadfork-ledger-6e6246c927ab0d39dfd65f20e51c3f1b036c8ea9.tar.gz
fork-ledger-6e6246c927ab0d39dfd65f20e51c3f1b036c8ea9.tar.bz2
fork-ledger-6e6246c927ab0d39dfd65f20e51c3f1b036c8ea9.zip
more fixes
Diffstat (limited to 'format.h')
-rw-r--r--format.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/format.h b/format.h
index 66a7f7cf..9828c5e7 100644
--- a/format.h
+++ b/format.h
@@ -208,6 +208,11 @@ class format_account
const item_predicate<account_t>&
disp_pred_functor,
const account_t *& to_show);
+ static bool disp_subaccounts_p(const account_t * account) {
+ const account_t * temp;
+ return disp_subaccounts_p(account, item_predicate<account_t>(NULL), temp);
+ }
+
static bool display_account(const account_t * account,
const item_predicate<account_t>&
disp_pred_functor);