forked from mirror/OpenTTD
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
@@ -507,8 +507,8 @@ struct NewsWindow : Window {
|
||||
TileIndex tile1 = GetReferenceTile(this->ni->reftype1, this->ni->ref1);
|
||||
TileIndex tile2 = GetReferenceTile(this->ni->reftype2, this->ni->ref2);
|
||||
if (_ctrl_pressed) {
|
||||
if (tile1 != INVALID_TILE) ShowExtraViewPortWindow(tile1);
|
||||
if (tile2 != INVALID_TILE) ShowExtraViewPortWindow(tile2);
|
||||
if (tile1 != INVALID_TILE) ShowExtraViewportWindow(tile1);
|
||||
if (tile2 != INVALID_TILE) ShowExtraViewportWindow(tile2);
|
||||
} else {
|
||||
if ((tile1 == INVALID_TILE || !ScrollMainWindowToTile(tile1)) && tile2 != INVALID_TILE) {
|
||||
ScrollMainWindowToTile(tile2);
|
||||
|
Reference in New Issue
Block a user