Browse Source

Clarify assignment as conditional in EDIT_TOOL::Main

pull/10/head
Simon Wells 10 years ago
committed by Chris Pavlina
parent
commit
712ff51d3f
  1. 2
      pcbnew/tools/edit_tool.cpp

2
pcbnew/tools/edit_tool.cpp

@ -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();

Loading…
Cancel
Save