From 6c9b3f17b780ded4153d58d34b630598c298a15f Mon Sep 17 00:00:00 2001 From: Peter Nelson Date: Sun, 26 Jan 2025 10:09:18 +0000 Subject: [PATCH] Fix 4c8f1b0f81: First entry of station cargo filter list was broken. (#13382) Additional indent parameter was missing. --- src/station_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/station_gui.cpp b/src/station_gui.cpp index 9a540a68e1..ff5b20ff35 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -590,7 +590,7 @@ public: if (count == 0 && !expanded) { any_hidden = true; } else { - list.push_back(std::make_unique>(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>(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();