summaryrefslogtreecommitdiff
path: root/src/waypoint_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/waypoint_gui.cpp')
-rw-r--r--src/waypoint_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waypoint_gui.cpp b/src/waypoint_gui.cpp
index 64ef0eb25..34f7785f1 100644
--- a/src/waypoint_gui.cpp
+++ b/src/waypoint_gui.cpp
@@ -89,7 +89,7 @@ public:
switch (widget) {
case WID_W_CENTER_VIEW: // scroll to location
if (_ctrl_pressed) {
- ShowExtraViewPortWindow(this->GetCenterTile());
+ ShowExtraViewportWindow(this->GetCenterTile());
} else {
ScrollMainWindowToTile(this->GetCenterTile());
}