Author: gschneider
Date: Sun Oct 11 20:10:48 2009
New Revision: 43379
URL:
http://svn.reactos.org/svn/reactos?rev=43379&view=rev
Log:
[spider] Address two more gcc 4.4 parenthesis warnings
Modified:
trunk/reactos/base/applications/games/spider/spigame.cpp
Modified: trunk/reactos/base/applications/games/spider/spigame.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/sp…
==============================================================================
--- trunk/reactos/base/applications/games/spider/spigame.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/applications/games/spider/spigame.cpp [iso-8859-1] Sun Oct 11
20:10:48 2009
@@ -145,8 +145,8 @@
case IDC_DIF_ONECOLOR:
break;
case IDC_DIF_TWOCOLORS:
- if (mystack[i].IsBlack() && mystack[i + 1].IsBlack() ||
- mystack[i].IsRed() && mystack[i + 1].IsRed())
+ if ((mystack[i].IsBlack() && mystack[i + 1].IsBlack()) ||
+ (mystack[i].IsRed() && mystack[i + 1].IsRed()))
{
return false;
}
@@ -236,8 +236,8 @@
case IDC_DIF_ONECOLOR:
break;
case IDC_DIF_TWOCOLORS:
- if (mystack[0].IsBlack() && dragcard.IsRed() ||
- mystack[0].IsRed() && dragcard.IsBlack())
+ if ((mystack[0].IsBlack() && dragcard.IsRed()) ||
+ (mystack[0].IsRed() && dragcard.IsBlack()))
{
return false;
}