Codechange: Spell 'Viewport' consistently

Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'.
This patch makes everything consistent.
This commit is contained in:
TechGeekNZ
2020-06-29 13:38:29 +12:00
committed by Charles Pigott
parent 7d66540af5
commit a10013dd00
89 changed files with 207 additions and 207 deletions

View File

@@ -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);
}