Silince gcc 4.3 warnings by adding parens around && clauses near ||.

This commit is contained in:
Bruno Wolff III 2008-03-19 16:15:39 +00:00
parent 31af370321
commit 58d8aa593a

View File

@ -189,7 +189,7 @@ bool widget::enabled() const
void widget::set_dirty(bool dirty)
{
if (dirty && (volatile_ || hidden_override_ || state_ != DRAWN) || !dirty && state_ != DIRTY)
if ((dirty && (volatile_ || hidden_override_ || state_ != DRAWN)) || (!dirty && state_ != DIRTY))
return;
state_ = dirty ? DIRTY : DRAWN;