Remove narrowing implicit cast
This commit is contained in:
parent
bb08ef2f41
commit
46a8d23378
|
@ -133,7 +133,7 @@ const EDA_RECT PCB_TEXT::GetBoundingBox() const
|
|||
{
|
||||
EDA_RECT rect = GetTextBox();
|
||||
|
||||
if( GetTextAngle() )
|
||||
if( GetTextAngle() != 0 )
|
||||
rect = rect.GetBoundingBoxRotated( GetTextPos(), GetTextAngle() );
|
||||
|
||||
return rect;
|
||||
|
|
Loading…
Reference in New Issue