summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2007-01-23 10:21:51 +0000
committermaedhros <maedhros@openttd.org>2007-01-23 10:21:51 +0000
commit75e7b2e6df40f959371ee3f5859f2dddf224f8fe (patch)
tree38c583b82db7338ff5c5f1c99dcb46c95cce7952 /src/industry_gui.cpp
parent294723d03f3e1ff8a79390f4b90f9096665041e4 (diff)
downloadopenttd-75e7b2e6df40f959371ee3f5859f2dddf224f8fe.tar.xz
(svn r8366) -Codechange: [Graphs] Make the scaling code less cryptic, and fix two longstanding bugs.
1) If the graph contained negative values, the y axis labels were half the size they should have been. 2) If the maximum value was larger than the height of the graph in pixels << 32, all datapoints were scaled to 0.
Diffstat (limited to 'src/industry_gui.cpp')
0 files changed, 0 insertions, 0 deletions