summaryrefslogtreecommitdiff
path: root/src/subsidy_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/subsidy_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/subsidy_gui.cpp')
-rw-r--r--src/subsidy_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/subsidy_gui.cpp b/src/subsidy_gui.cpp
index f9a17f7b7..fe3c55c11 100644
--- a/src/subsidy_gui.cpp
+++ b/src/subsidy_gui.cpp
@@ -83,7 +83,7 @@ struct SubsidyListWindow : Window {
}
if (_ctrl_pressed || !ScrollMainWindowToTile(xy)) {
- if (_ctrl_pressed) ShowExtraViewPortWindow(xy);
+ if (_ctrl_pressed) ShowExtraViewportWindow(xy);
/* otherwise determine dst coordinate for subsidy and scroll to it */
switch (s->dst_type) {
@@ -93,7 +93,7 @@ struct SubsidyListWindow : Window {
}
if (_ctrl_pressed) {
- ShowExtraViewPortWindow(xy);
+ ShowExtraViewportWindow(xy);
} else {
ScrollMainWindowToTile(xy);
}