From 284b92f3e9551447e3d6064cf87501f7f7651cfa Mon Sep 17 00:00:00 2001 From: alberth Date: Wed, 2 Sep 2009 19:57:22 +0000 Subject: (svn r17385) -Codechange: Removed some unneeded parentheses. --- src/news_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- cgit v1.2.3-70-g09d2