Fixed wrongly formulated assert.

This commit is contained in:
Maciej Suminski 2014-02-17 17:20:44 +01:00
parent 05de84d542
commit e14d9aaf8f
1 changed files with 1 additions and 1 deletions

View File

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