summaryrefslogtreecommitdiff
path: root/src/smallmap_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-06-01 07:44:53 +0000
committerrubidium <rubidium@openttd.org>2013-06-01 07:44:53 +0000
commitf292a87dc499fdcf9ffaeaa6f1cd73fc998b31e3 (patch)
tree6e69d090d600f7eee7b2162754b7b8cc263b12a9 /src/smallmap_gui.cpp
parentc9f514eb4c509c496d88691aade3e58cebff8dce (diff)
downloadopenttd-f292a87dc499fdcf9ffaeaa6f1cd73fc998b31e3.tar.xz
(svn r25312) -Fix-ish: missing spaces after comma + realignment of tables; quite boring with -x -w
Diffstat (limited to 'src/smallmap_gui.cpp')
-rw-r--r--src/smallmap_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp
index b0dae065f..40109a907 100644
--- a/src/smallmap_gui.cpp
+++ b/src/smallmap_gui.cpp
@@ -1260,7 +1260,7 @@ inline uint SmallMapWindow::GetNumberRowsLegend(uint columns) const
{
/* Reserve one column for link colours */
uint num_rows_linkstats = CeilDiv(_smallmap_cargo_count, columns - 1);
- uint num_rows_others = CeilDiv(max(_smallmap_industry_count,_smallmap_company_count), columns);
+ uint num_rows_others = CeilDiv(max(_smallmap_industry_count, _smallmap_company_count), columns);
return max(this->min_number_of_fixed_rows, max(num_rows_linkstats, num_rows_others));
}