summaryrefslogtreecommitdiff
path: root/src/story_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/story_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/story_gui.cpp')
-rw-r--r--src/story_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/story_gui.cpp b/src/story_gui.cpp
index 2de96a1a5..21429994c 100644
--- a/src/story_gui.cpp
+++ b/src/story_gui.cpp
@@ -550,7 +550,7 @@ protected:
case SPET_LOCATION:
if (_ctrl_pressed) {
- ShowExtraViewPortWindow((TileIndex)pe.referenced_id);
+ ShowExtraViewportWindow((TileIndex)pe.referenced_id);
} else {
ScrollMainWindowToTile((TileIndex)pe.referenced_id);
}