diff options
author | John Wiegley <johnw@newartisans.com> | 2010-01-21 04:59:45 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-01-21 04:59:45 -0500 |
commit | 0be486c58b1cb40f898e3504b6b80b4a0462145b (patch) | |
tree | 887d9ecf31ba75ded2ae1958c4b51a92b11ed76c /src/account.cc | |
parent | d406aeb85d837bacb4e6e764794ca91a016a8361 (diff) | |
download | fork-ledger-0be486c58b1cb40f898e3504b6b80b4a0462145b.tar.gz fork-ledger-0be486c58b1cb40f898e3504b6b80b4a0462145b.tar.bz2 fork-ledger-0be486c58b1cb40f898e3504b6b80b4a0462145b.zip |
Fixed assertion failure in -M -A bal report
Diffstat (limited to 'src/account.cc')
-rw-r--r-- | src/account.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/account.cc b/src/account.cc index e6c7af56..f8729409 100644 --- a/src/account.cc +++ b/src/account.cc @@ -512,7 +512,7 @@ void account_t::xdata_t::details_t::update(post_t& post, if (post.has_flags(POST_VIRTUAL)) posts_virtuals_count++; - if (gather_all) + if (gather_all && post.pos) filenames.insert(post.pos->pathname); date_t date = post.date(); |