Fix compil warning (shadowed vars)
This commit is contained in:
parent
1f8b72c194
commit
8aa7e8d9f4
|
@ -1071,15 +1071,15 @@ void SCH_PAINTER::draw( LIB_PIN *aPin, int aLayer )
|
||||||
};
|
};
|
||||||
|
|
||||||
auto drawText =
|
auto drawText =
|
||||||
[&]( const wxString& text, const VECTOR2D& pos, double angle )
|
[&]( const wxString& aText, const VECTOR2D& aPos, double aAngle )
|
||||||
{
|
{
|
||||||
if( text.IsEmpty() )
|
if( aText.IsEmpty() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if( drawingShadows && eeconfig()->m_Selection.text_as_box )
|
if( drawingShadows && eeconfig()->m_Selection.text_as_box )
|
||||||
boxText( text, pos, angle );
|
boxText( aText, aPos, aAngle );
|
||||||
else
|
else
|
||||||
strokeText( text, pos, angle );
|
strokeText( aText, aPos, aAngle );
|
||||||
};
|
};
|
||||||
|
|
||||||
switch( orient )
|
switch( orient )
|
||||||
|
|
Loading…
Reference in New Issue