summaryrefslogtreecommitdiff
path: root/src/report.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-08 13:36:21 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-08 13:36:21 -0500
commit55c7792c9329f97dd19fc5aeca466cb2de4fbf9c (patch)
treeb820b7c4b064e5d430439839768aa5b855ce3a4a /src/report.cc
parent3f00f8362c2fdfae1dbb6517bc29c75e308bc4f0 (diff)
parent60059750061fe59c83adc869f36335a083955608 (diff)
downloadfork-ledger-55c7792c9329f97dd19fc5aeca466cb2de4fbf9c.tar.gz
fork-ledger-55c7792c9329f97dd19fc5aeca466cb2de4fbf9c.tar.bz2
fork-ledger-55c7792c9329f97dd19fc5aeca466cb2de4fbf9c.zip
Merge branch 'next'
Diffstat (limited to 'src/report.cc')
-rw-r--r--src/report.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/report.cc b/src/report.cc
index 77548cce..fbe8d37c 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -322,7 +322,7 @@ value_t report_t::fn_account_total(call_scope_t& args)
acct = session.journal->find_account(name, false);
}
else if (args[0].is_mask()) {
- name = args[0].as_mask().expr.str();
+ name = args[0].as_mask().str();
acct = session.journal->find_account_re(name);
}
else {