summaryrefslogtreecommitdiff
path: root/src/station_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/station_gui.cpp')
-rw-r--r--src/station_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/station_gui.cpp b/src/station_gui.cpp
index 1177e558c..923387821 100644
--- a/src/station_gui.cpp
+++ b/src/station_gui.cpp
@@ -1948,7 +1948,7 @@ struct StationViewWindow : public Window {
break;
case WID_SV_CLOSE_AIRPORT:
- Command<CMD_OPEN_CLOSE_AIRPORT>::Post(0, this->window_number, 0, {});
+ Command<CMD_OPEN_CLOSE_AIRPORT>::Post(this->window_number);
break;
case WID_SV_TRAINS: // Show list of scheduled trains to this station
@@ -2085,7 +2085,7 @@ struct StationViewWindow : public Window {
{
if (str == nullptr) return;
- Command<CMD_RENAME_STATION>::Post(STR_ERROR_CAN_T_RENAME_STATION, 0, this->window_number, 0, str);
+ Command<CMD_RENAME_STATION>::Post(STR_ERROR_CAN_T_RENAME_STATION, this->window_number, str);
}
void OnResize() override