From 2ad40ad10ab5465894d2e16e6a661b049ee46924 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Wed, 26 Jun 2019 21:50:57 +0100 Subject: [PATCH] Fix some misplaced parens. Fixes: lp:1818449 * https://bugs.launchpad.net/kicad/+bug/1818449 --- pcbnew/collectors.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pcbnew/collectors.cpp b/pcbnew/collectors.cpp index 2eb1f98382..4760bbb4bc 100644 --- a/pcbnew/collectors.cpp +++ b/pcbnew/collectors.cpp @@ -412,9 +412,10 @@ SEARCH_RESULT GENERAL_COLLECTOR::Inspect( EDA_ITEM* testItem, void* testData ) else if( item->HitTest( m_RefPos ) ) { if( !module || module->HitTestAccurate( m_RefPos ) ) + { Append( item ); - - goto exit; + goto exit; + } } } }