Author: brunowolff
Date: Wed Mar 19 18:44:45 2008
New Revision: 24867

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

Modified:
    trunk/src/replay.cpp

Modified: trunk/src/replay.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/replay.cpp?rev=24867&r1=24866&r2=24867&view=diff
==============================================================================
--- trunk/src/replay.cpp (original)
+++ trunk/src/replay.cpp Wed Mar 19 18:44:45 2008
@@ -534,7 +534,7 @@
        // even if not marked explicitely with undo=no.
        //! @todo Change undo= to default to "no" and explicitely mark all
        //! undoable commands with yes.
-       while(cmd.first != cmd.second && (**(cmd.second-1))["undo"] == "no"
+       while((cmd.first != cmd.second && (**(cmd.second-1))["undo"] == "no")
                || (**(cmd.second-1))["async"] == "yes"
                || (**(cmd.second-1))["sent"] == "yes")
        {


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

Reply via email to