diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-16 02:51:09 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-16 02:51:09 -0400 |
commit | b5a972d1a0b12bb55f16af9f57166a779823bc7f (patch) | |
tree | a6bd49bdfb7a31994be53db9a83d407418995ce1 /src/report.cc | |
parent | e3b40f5bb68bffd63656f6fcbbff88682dbb1eed (diff) | |
download | ledger-b5a972d1a0b12bb55f16af9f57166a779823bc7f.tar.gz ledger-b5a972d1a0b12bb55f16af9f57166a779823bc7f.tar.bz2 ledger-b5a972d1a0b12bb55f16af9f57166a779823bc7f.zip |
The -n option for bal command is working again
The fix was that when appending new predicates, enclosed both sides of
the AND with parentheses.
Diffstat (limited to 'src/report.cc')
-rw-r--r-- | src/report.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/report.cc b/src/report.cc index 837a1fb4..b0281c3e 100644 --- a/src/report.cc +++ b/src/report.cc @@ -271,7 +271,7 @@ namespace { value_t operator()(call_scope_t& args) { - if (args.value().size() > 0) { + if (args.size() > 0) { report.HANDLER(limit_).append (args_to_predicate_expr(args.value().as_sequence().begin(), args.value().as_sequence().end())); |