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 ef2873f22..66a4605ea 100644
--- a/src/station_gui.cpp
+++ b/src/station_gui.cpp
@@ -537,7 +537,7 @@ public:
assert(st->owner == (Owner)this->window_number || st->owner == OWNER_NONE);
if (_ctrl_pressed) {
- ShowExtraViewPortWindow(st->xy);
+ ShowExtraViewportWindow(st->xy);
} else {
ScrollMainWindowToTile(st->xy);
}
@@ -1919,7 +1919,7 @@ struct StationViewWindow : public Window {
case WID_SV_LOCATION:
if (_ctrl_pressed) {
- ShowExtraViewPortWindow(Station::Get(this->window_number)->xy);
+ ShowExtraViewportWindow(Station::Get(this->window_number)->xy);
} else {
ScrollMainWindowToTile(Station::Get(this->window_number)->xy);
}