Commit e14d9aaf authored by Maciej Suminski's avatar Maciej Suminski

Fixed wrongly formulated assert.

parent 05de84d5
...@@ -190,7 +190,7 @@ int DRAWING_TOOL::DrawArc( TOOL_EVENT& aEvent ) ...@@ -190,7 +190,7 @@ int DRAWING_TOOL::DrawArc( TOOL_EVENT& aEvent )
{ {
if( wxPoint( cursorPos.x, cursorPos.y ) != arc->GetArcStart() ) if( wxPoint( cursorPos.x, cursorPos.y ) != arc->GetArcStart() )
{ {
assert( arc->GetAngle() > 0 ); assert( arc->GetAngle() != 0 );
assert( arc->GetArcStart() != arc->GetArcEnd() ); assert( arc->GetArcStart() != arc->GetArcEnd() );
assert( arc->GetWidth() > 0 ); assert( arc->GetWidth() > 0 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment