Clarify assignment as conditional in EDIT_TOOL::Main

This commit is contained in:
Simon Wells 2016-01-11 17:12:11 -05:00 committed by Chris Pavlina
parent dbb7b38bae
commit 712ff51d3f
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ int EDIT_TOOL::Main( const TOOL_EVENT& aEvent )
lockOverride = false;
}
} while( evt = Wait() );
} while( ( evt = Wait() ) ); //Should be assignment not equality test
if( m_dragging )
decUndoInhibit();