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/station_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/station_gui.cpp')
-rw-r--r-- | src/station_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/station_gui.cpp b/src/station_gui.cpp index ef2873f22..66a4605ea 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -537,7 +537,7 @@ public: assert(st->owner == (Owner)this->window_number || st->owner == OWNER_NONE); if (_ctrl_pressed) { - ShowExtraViewPortWindow(st->xy); + ShowExtraViewportWindow(st->xy); } else { ScrollMainWindowToTile(st->xy); } @@ -1919,7 +1919,7 @@ struct StationViewWindow : public Window { case WID_SV_LOCATION: if (_ctrl_pressed) { - ShowExtraViewPortWindow(Station::Get(this->window_number)->xy); + ShowExtraViewportWindow(Station::Get(this->window_number)->xy); } else { ScrollMainWindowToTile(Station::Get(this->window_number)->xy); } |