summaryrefslogtreecommitdiff
path: root/src/account.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-02-05 05:35:14 -0500
committerJohn Wiegley <johnw@newartisans.com>2010-02-05 05:35:14 -0500
commit547137096051ab985dca6f8e5c7be191b62ccb0c (patch)
tree2f3a39c4b71b8cb8b232502401e8dd2c8c2247ef /src/account.cc
parentc6873d32aa121289e87be7eb16ff531c6d468d2a (diff)
parent69da18cd303b10f9badd542141ffdfd546009508 (diff)
downloadfork-ledger-547137096051ab985dca6f8e5c7be191b62ccb0c.tar.gz
fork-ledger-547137096051ab985dca6f8e5c7be191b62ccb0c.tar.bz2
fork-ledger-547137096051ab985dca6f8e5c7be191b62ccb0c.zip
Merge branch 'next'
Diffstat (limited to 'src/account.cc')
-rw-r--r--src/account.cc2
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();