equal
deleted
inserted
replaced
149 /* draw strings on the x axis */ |
149 /* draw strings on the x axis */ |
150 if (gw->month != 0xFF) { |
150 if (gw->month != 0xFF) { |
151 x = gw->left + 44; |
151 x = gw->left + 44; |
152 y = gw->top + gw->height + 1; |
152 y = gw->top + gw->height + 1; |
153 j = gw->month; |
153 j = gw->month; |
154 k = gw->year + MAX_YEAR_BEGIN_REAL; |
154 k = BASE_YEAR + gw->year; |
155 i = gw->num_on_x_axis;assert(i>0); |
155 i = gw->num_on_x_axis;assert(i>0); |
156 do { |
156 do { |
157 SetDParam(2, k); |
157 SetDParam(2, k); |
158 SetDParam(0, j + STR_0162_JAN); |
158 SetDParam(0, j + STR_0162_JAN); |
159 SetDParam(1, j + STR_0162_JAN + 2); |
159 SetDParam(1, j + STR_0162_JAN + 2); |