summaryrefslogtreecommitdiff
path: root/derive.cc
diff options
context:
space:
mode:
Diffstat (limited to 'derive.cc')
-rw-r--r--derive.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/derive.cc b/derive.cc
index 5141c18e..402eef8a 100644
--- a/derive.cc
+++ b/derive.cc
@@ -15,7 +15,7 @@ entry_t * derive_new_entry(journal_t& journal,
entry_t * matching = NULL;
- if (! parse_date((*i).c_str(), &added->date))
+ if (! parse_date((*i).c_str(), &added->_date))
throw error("Bad date passed to 'entry'");
if (++i == end)