(svn r5916) -Cleanup: use MIN_YEAR/MAX_YEAR for the year boundaries and BASE_YEAR when comparing _cur_year with a 'full' year.

-Cleanup: replace some magic '1920' values with BASE_YEAR.
This commit is contained in:
rubidium
2006-08-15 15:18:03 +00:00
parent 8aa76f306d
commit 0d3ccad29f
19 changed files with 38 additions and 38 deletions

View File

@@ -151,7 +151,7 @@ static void DrawGraph(const GraphDrawer *gw)
x = gw->left + 44;
y = gw->top + gw->height + 1;
j = gw->month;
k = gw->year + MAX_YEAR_BEGIN_REAL;
k = BASE_YEAR + gw->year;
i = gw->num_on_x_axis;assert(i>0);
do {
SetDParam(2, k);