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