diff options
author | TechGeekNZ <git@tech.geek.nz> | 2020-06-29 13:38:29 +1200 |
---|---|---|
committer | Charles Pigott <charlespigott@googlemail.com> | 2020-07-27 17:31:29 +0100 |
commit | a10013dd00ee0e78bba7804feddc81d84ba57d69 (patch) | |
tree | 8875568d7e0e1dff52916558f93462badb585295 /src/town_gui.cpp | |
parent | 7d66540af55fe9c28790cfe9d839bfbf8afb91dc (diff) | |
download | openttd-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/town_gui.cpp')
-rw-r--r-- | src/town_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp index 38314f3fb..f199d8a97 100644 --- a/src/town_gui.cpp +++ b/src/town_gui.cpp @@ -445,7 +445,7 @@ public: switch (widget) { case WID_TV_CENTER_VIEW: // scroll to location if (_ctrl_pressed) { - ShowExtraViewPortWindow(this->town->xy); + ShowExtraViewportWindow(this->town->xy); } else { ScrollMainWindowToTile(this->town->xy); } @@ -913,7 +913,7 @@ public: const Town *t = this->towns[id_v]; assert(t != nullptr); if (_ctrl_pressed) { - ShowExtraViewPortWindow(t->xy); + ShowExtraViewportWindow(t->xy); } else { ScrollMainWindowToTile(t->xy); } |