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:

committed by
Charles Pigott

parent
7d66540af5
commit
a10013dd00
@@ -1016,7 +1016,7 @@ public:
|
||||
case WID_IV_GOTO: {
|
||||
Industry *i = Industry::Get(this->window_number);
|
||||
if (_ctrl_pressed) {
|
||||
ShowExtraViewPortWindow(i->location.GetCenterTile());
|
||||
ShowExtraViewportWindow(i->location.GetCenterTile());
|
||||
} else {
|
||||
ScrollMainWindowToTile(i->location.GetCenterTile());
|
||||
}
|
||||
@@ -1627,7 +1627,7 @@ public:
|
||||
uint p = this->vscroll->GetScrolledRowFromWidget(pt.y, this, WID_ID_INDUSTRY_LIST, WD_FRAMERECT_TOP);
|
||||
if (p < this->industries.size()) {
|
||||
if (_ctrl_pressed) {
|
||||
ShowExtraViewPortWindow(this->industries[p]->location.tile);
|
||||
ShowExtraViewportWindow(this->industries[p]->location.tile);
|
||||
} else {
|
||||
ScrollMainWindowToTile(this->industries[p]->location.tile);
|
||||
}
|
||||
|
Reference in New Issue
Block a user