Silence gcc 4.3 warning by adding parens around && clause near ||.

This commit is contained in:
Bruno Wolff III 2008-03-19 17:44:45 +00:00
parent 0926f5f30f
commit c20311777f

View file

@ -534,7 +534,7 @@ void replay::undo()
// 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")
{