diff src/graph_gui.cpp @ 7002:fa75522e0249 draft

(svn r10258) -Codechange: as we are now using int64 all over the place, it's better to use int64 variables in the string generating too instead of packing them into two int32s. -Fix: some displays of money were wrong.
author rubidium <rubidium@openttd.org>
date Thu, 21 Jun 2007 17:25:17 +0000 (2007-06-21)
parents 68c101a3230f
children 74d401c66902
line wrap: on
line diff
--- a/src/graph_gui.cpp
+++ b/src/graph_gui.cpp
@@ -162,7 +162,7 @@
 
 	for (int i = 0; i < GRAPH_NUM_LINES_Y; i++) {
 		SetDParam(0, gw->format_str_y_axis);
-		SetDParam64(1, y_label);
+		SetDParam(1, y_label);
 		DrawStringRightAligned(x, y, STR_0170, GRAPH_AXIS_LABEL_COLOUR);
 
 		y_label -= y_label_separation;