diff options
Diffstat (limited to 'statistics.c')
-rw-r--r-- | statistics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/statistics.c b/statistics.c index 35b9cecb9..d7757b914 100644 --- a/statistics.c +++ b/statistics.c @@ -412,7 +412,7 @@ static void process_all_dives(struct dive *dive, struct dive **prev_dive) if (current_year == 0) current_year = tm.tm_year + 1900; - if (current_year != tm.tm_year) { + if (current_year != tm.tm_year + 1900) { current_year = tm.tm_year + 1900; process_dive(dp, &(stats_yearly[++year_iter])); } else |