(svn r25313) -Fix: Do not assume '8' to be the broadest digit, but test all of them.

This commit is contained in:
frosch
2013-06-01 14:33:48 +00:00
parent 2b2706009e
commit ddf817e8f3
9 changed files with 32 additions and 11 deletions

View File

@@ -183,7 +183,7 @@ private:
}
this->tiny_step_height = max(this->tiny_step_height, this->column_size[VGC_PROFIT].height);
SetDParamMaxValue(0, GroupStatistics::Get(this->vli.company, ALL_GROUP, this->vli.vtype).num_vehicle, 3);
SetDParamMaxValue(0, GroupStatistics::Get(this->vli.company, ALL_GROUP, this->vli.vtype).num_vehicle, 3, FS_SMALL);
this->column_size[VGC_NUMBER] = GetStringBoundingBox(STR_TINY_COMMA);
this->tiny_step_height = max(this->tiny_step_height, this->column_size[VGC_NUMBER].height);