summaryrefslogtreecommitdiff
path: root/src/depot_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-06-01 14:33:48 +0000
committerfrosch <frosch@openttd.org>2013-06-01 14:33:48 +0000
commitce110eed32eef08e7ce1c35a2c5893698afee73a (patch)
tree0faa8ca975a1bf93428e6ac711692b7e79e7ec27 /src/depot_gui.cpp
parentf292a87dc499fdcf9ffaeaa6f1cd73fc998b31e3 (diff)
downloadopenttd-ce110eed32eef08e7ce1c35a2c5893698afee73a.tar.xz
(svn r25313) -Fix: Do not assume '8' to be the broadest digit, but test all of them.
Diffstat (limited to 'src/depot_gui.cpp')
-rw-r--r--src/depot_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp
index d269bfb38..f58ffcdef 100644
--- a/src/depot_gui.cpp
+++ b/src/depot_gui.cpp
@@ -601,7 +601,7 @@ struct DepotWindow : Window {
uint min_height = 0;
if (this->type == VEH_TRAIN) {
- SetDParamMaxValue(0, 1000);
+ SetDParamMaxValue(0, 1000, 0, FS_SMALL);
SetDParam(1, 1);
this->count_width = GetStringBoundingBox(STR_TINY_BLACK_DECIMAL).width + WD_FRAMERECT_LEFT + WD_FRAMERECT_RIGHT;
} else {