Fixed wrongly formulated assert.
This commit is contained in:
parent
05de84d542
commit
e14d9aaf8f
|
@ -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 );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue