diff options
Diffstat (limited to 'src/news_gui.cpp')
-rw-r--r-- | src/news_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp index 0b4c41a2a..da613c55e 100644 --- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -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); |