diff options
author | rubidium <rubidium@openttd.org> | 2007-06-21 17:25:17 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-21 17:25:17 +0000 |
commit | 9c0944aa09b1d36a60d81c41088a906064086bfb (patch) | |
tree | 9b6fd14e50d7ab0c8fb901cfad2e00092a6b0470 /src/graph_gui.cpp | |
parent | c5225992c168b3546d37f5309b668d9fe5f4af1d (diff) | |
download | openttd-9c0944aa09b1d36a60d81c41088a906064086bfb.tar.xz |
(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.
Diffstat (limited to 'src/graph_gui.cpp')
-rw-r--r-- | src/graph_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp index 152c66f43..bf4b3aa52 100644 --- a/src/graph_gui.cpp +++ b/src/graph_gui.cpp @@ -162,7 +162,7 @@ static void DrawGraph(const GraphDrawer *gw) 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; |