Squash GCC warning about boolean expression
This commit is contained in:
parent
39c1387b5b
commit
4f191ce2c7
|
@ -2543,8 +2543,8 @@ void CADSTAR_ARCHIVE_PARSER::FixTextPositionNoAlignment( EDA_TEXT* aKiCadTextIte
|
|||
|
||||
EDA_ITEM* textEdaItem = dynamic_cast<EDA_ITEM*>( aKiCadTextItem );
|
||||
|
||||
if( textEdaItem && ( textEdaItem->Type() == LIB_TEXT_T )
|
||||
|| ( textEdaItem->Type() == LIB_FIELD_T ) )
|
||||
if( textEdaItem &&
|
||||
( textEdaItem->Type() == LIB_TEXT_T || textEdaItem->Type() == LIB_FIELD_T ) )
|
||||
{
|
||||
// Y coordinate increases upwards in the symbol editor
|
||||
positionOffset.y = -positionOffset.y;
|
||||
|
|
Loading…
Reference in New Issue