Author: brunowolff
Date: Wed Mar 19 17:01:54 2008
New Revision: 24832

URL: http://svn.gna.org/viewcvs/wesnoth?rev=24832&view=rev
Log:
Silence gcc warning by add parens around && clause near ||.

Modified:
    trunk/src/sdl_utils.cpp

Modified: trunk/src/sdl_utils.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/sdl_utils.cpp?rev=24832&r1=24831&r2=24832&view=diff
==============================================================================
--- trunk/src/sdl_utils.cpp (original)
+++ trunk/src/sdl_utils.cpp Wed Mar 19 17:01:54 2008
@@ -398,7 +398,7 @@
 
 surface adjust_surface_colour(surface const &surf, int r, int g, int b)
 {
-       if(r == 0 && g == 0 && b == 0 || surf == NULL)
+       if((r == 0 && g == 0 && b == 0) || surf == NULL)
                return create_optimized_surface(surf);
 
        surface nsurf(make_neutral_surface(surf));


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to