summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/news_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp
index e0d72f947..20419e549 100644
--- a/src/news_gui.cpp
+++ b/src/news_gui.cpp
@@ -310,7 +310,7 @@ struct NewsWindow : Window {
if (tile1 != INVALID_TILE) ShowExtraViewPortWindow(tile1);
if (tile2 != INVALID_TILE) ShowExtraViewPortWindow(tile2);
} else {
- if (((tile1 == INVALID_TILE) || !ScrollMainWindowToTile(tile1)) && (tile2 != INVALID_TILE)) {
+ if ((tile1 == INVALID_TILE || !ScrollMainWindowToTile(tile1)) && tile2 != INVALID_TILE) {
ScrollMainWindowToTile(tile2);
}
}