Remove redundant year/month date globals

This commit is contained in:
Jonathan G Rennison
2020-07-07 17:53:54 +01:00
parent c7f6a711b3
commit 53f9fa139d
9 changed files with 26 additions and 30 deletions

View File

@@ -571,7 +571,7 @@ public:
nums = min(this->num_vert_lines, max(nums, c->num_valid_stat_ent));
}
int mo = (_cur_month / 3 - nums) * 3;
int mo = (_cur_date_ymd.month / 3 - nums) * 3;
int yr = _cur_year;
while (mo < 0) {
yr--;