From db9ba2ede7722f9edadcd7f0d9c48d27e44919b6 Mon Sep 17 00:00:00 2001 From: Peter Nelson Date: Mon, 24 Mar 2025 22:18:13 +0000 Subject: [PATCH] Fix: Not enough parameters supplied for Autoreplace window caption. --- src/autoreplace_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/autoreplace_gui.cpp b/src/autoreplace_gui.cpp index db82e13d58..3632415472 100644 --- a/src/autoreplace_gui.cpp +++ b/src/autoreplace_gui.cpp @@ -388,11 +388,11 @@ public: case WID_RV_CAPTION: switch (this->sel_group.base()) { case ALL_GROUP.base(): - return GetString(STR_REPLACE_VEHICLES_WHITE, STR_REPLACE_VEHICLE_TRAIN + this->window_number, STR_GROUP_ALL_TRAINS + this->window_number); + return GetString(STR_REPLACE_VEHICLES_WHITE, STR_REPLACE_VEHICLE_TRAIN + this->window_number, STR_GROUP_ALL_TRAINS + this->window_number, std::monostate{}); break; case DEFAULT_GROUP.base(): - return GetString(STR_REPLACE_VEHICLES_WHITE, STR_REPLACE_VEHICLE_TRAIN + this->window_number, STR_GROUP_DEFAULT_TRAINS + this->window_number); + return GetString(STR_REPLACE_VEHICLES_WHITE, STR_REPLACE_VEHICLE_TRAIN + this->window_number, STR_GROUP_DEFAULT_TRAINS + this->window_number, std::monostate{}); break; default: