diff options
Diffstat (limited to 'statistics.c')
-rw-r--r-- | statistics.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/statistics.c b/statistics.c index 96bc5db36..9cbfcc72f 100644 --- a/statistics.c +++ b/statistics.c @@ -361,7 +361,8 @@ static void update_yearly_stats() for (j = 0; combined_months < stats_yearly[i].selection_size; ++j) { combined_months += stats_monthly[month].selection_size; - process_interval_stats(stats_monthly[month++], &year_iter, &month_iter); + process_interval_stats(stats_monthly[month], &year_iter, &month_iter); + month++; } } } |