Clarify assignment as conditional in EDIT_TOOL::Main
This commit is contained in:
parent
dbb7b38bae
commit
712ff51d3f
|
@ -313,7 +313,7 @@ int EDIT_TOOL::Main( const TOOL_EVENT& aEvent )
|
||||||
|
|
||||||
lockOverride = false;
|
lockOverride = false;
|
||||||
}
|
}
|
||||||
} while( evt = Wait() );
|
} while( ( evt = Wait() ) ); //Should be assignment not equality test
|
||||||
|
|
||||||
if( m_dragging )
|
if( m_dragging )
|
||||||
decUndoInhibit();
|
decUndoInhibit();
|
||||||
|
|
Loading…
Reference in New Issue