Commit e14d9aaf authored by Maciej Suminski's avatar Maciej Suminski
Browse files

Fixed wrongly formulated assert.

parent 05de84d5
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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 );