diff options
Diffstat (limited to 'src/smallmap_gui.cpp')
-rw-r--r-- | src/smallmap_gui.cpp | 2 |
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)); } |