Author: brunowolff
Date: Wed Mar 19 18:36:59 2008
New Revision: 24863

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

Modified:
    trunk/src/playcampaign.cpp

Modified: trunk/src/playcampaign.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/playcampaign.cpp?rev=24863&r1=24862&r2=24863&view=diff
==============================================================================
--- trunk/src/playcampaign.cpp (original)
+++ trunk/src/playcampaign.cpp Wed Mar 19 18:36:59 2008
@@ -414,7 +414,7 @@
                // OBSERVER_END probably can be removed here if the observer 
disconnect
                // bug (#10077) is fixed so that when the host ends the game 
observers
                // again get asked if they want to save a replay of the game
-               if (res == VICTORY || io_type != IO_NONE && (res == DEFEAT || 
res == OBSERVER_END)) {
+               if (res == VICTORY || (io_type != IO_NONE && (res == DEFEAT || 
res == OBSERVER_END))) {
                        if (preferences::delete_saves())
                                clean_saves(gamestate.label);
 


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

Reply via email to