summaryrefslogtreecommitdiff
path: root/graph_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'graph_gui.c')
-rw-r--r--graph_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/graph_gui.c b/graph_gui.c
index 9382d7172..c14bcb2c9 100644
--- a/graph_gui.c
+++ b/graph_gui.c
@@ -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);