mirror of https://github.com/OpenTTD/OpenTTD
Fix 4c8f1b0f81: First entry of station cargo filter list was broken. (#13382)
Additional indent parameter was missing.pull/13384/head
parent
492a5284ea
commit
6c9b3f17b7
|
@ -590,7 +590,7 @@ public:
|
||||||
if (count == 0 && !expanded) {
|
if (count == 0 && !expanded) {
|
||||||
any_hidden = true;
|
any_hidden = true;
|
||||||
} else {
|
} else {
|
||||||
list.push_back(std::make_unique<DropDownString<DropDownListCheckedItem, FS_SMALL, true>>(fmt::format("{}", count), this->filter.include_no_rating, STR_STATION_LIST_CARGO_FILTER_NO_RATING, CargoFilterCriteria::CF_NO_RATING, false, count == 0));
|
list.push_back(std::make_unique<DropDownString<DropDownListCheckedItem, FS_SMALL, true>>(fmt::format("{}", count), 0, this->filter.include_no_rating, STR_STATION_LIST_CARGO_FILTER_NO_RATING, CargoFilterCriteria::CF_NO_RATING, false, count == 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
Dimension d = GetLargestCargoIconSize();
|
Dimension d = GetLargestCargoIconSize();
|
||||||
|
|
Loading…
Reference in New Issue