summaryrefslogtreecommitdiff
path: root/textual.cc
diff options
context:
space:
mode:
Diffstat (limited to 'textual.cc')
-rw-r--r--textual.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/textual.cc b/textual.cc
index 88a1720a..df7d0242 100644
--- a/textual.cc
+++ b/textual.cc
@@ -476,8 +476,8 @@ unsigned int parse_textual_journal(std::istream& in, journal_t * journal,
case 'Y': // set the current year
in >> c;
- in >> now_tm->tm_year;
- now_tm->tm_year -= 1900;
+ in >> now_year;
+ now_year -= 1900;
break;
#ifdef TIMELOG_SUPPORT