summaryrefslogtreecommitdiff
path: root/src/waypoint_gui.cpp
diff options
context:
space:
mode:
authorTechGeekNZ <git@tech.geek.nz>2020-06-29 13:38:29 +1200
committerCharles Pigott <charlespigott@googlemail.com>2020-07-27 17:31:29 +0100
commita10013dd00ee0e78bba7804feddc81d84ba57d69 (patch)
tree8875568d7e0e1dff52916558f93462badb585295 /src/waypoint_gui.cpp
parent7d66540af55fe9c28790cfe9d839bfbf8afb91dc (diff)
downloadopenttd-a10013dd00ee0e78bba7804feddc81d84ba57d69.tar.xz
Codechange: Spell 'Viewport' consistently
Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'. This patch makes everything consistent.
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());
}