summaryrefslogtreecommitdiff
path: root/format.cc
diff options
context:
space:
mode:
Diffstat (limited to 'format.cc')
-rw-r--r--format.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/format.cc b/format.cc
index 7d1748c1..f5259e93 100644
--- a/format.cc
+++ b/format.cc
@@ -329,7 +329,7 @@ void format_t::format(std::ostream& out_str, const details_t& details) const
break;
case element_t::SOURCE:
- if (details.entry) {
+ if (details.entry && details.entry->journal) {
int idx = details.entry->src_idx;
for (strings_list::iterator i = details.entry->journal->sources.begin();
i != details.entry->journal->sources.end();