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
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user