From 4f191ce2c7dfc748a5fd6818abb279d84e197f4c Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Tue, 13 Apr 2021 21:53:43 -0400 Subject: [PATCH] Squash GCC warning about boolean expression --- common/plugins/cadstar/cadstar_archive_parser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/plugins/cadstar/cadstar_archive_parser.cpp b/common/plugins/cadstar/cadstar_archive_parser.cpp index 1e167490cd..5403a06554 100644 --- a/common/plugins/cadstar/cadstar_archive_parser.cpp +++ b/common/plugins/cadstar/cadstar_archive_parser.cpp @@ -2543,8 +2543,8 @@ void CADSTAR_ARCHIVE_PARSER::FixTextPositionNoAlignment( EDA_TEXT* aKiCadTextIte EDA_ITEM* textEdaItem = dynamic_cast( 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;