From 1a6e8d4713b28b98b1181b4aaa477ee1a2ed87f0 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 13 May 2018 21:47:47 +0100 Subject: [PATCH] Fix typo. --- eeschema/dialogs/dialog_fields_editor_global.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/dialogs/dialog_fields_editor_global.cpp b/eeschema/dialogs/dialog_fields_editor_global.cpp index 1f2f53593b..1d1ad872b5 100644 --- a/eeschema/dialogs/dialog_fields_editor_global.cpp +++ b/eeschema/dialogs/dialog_fields_editor_global.cpp @@ -287,7 +287,7 @@ public: { // If items are unannotated then we can't tell if they're units of the same // component or not - if( lhRef.GetRefNumber() != wxT( "?" ) ) + if( lhRef.GetRefNumber() == wxT( "?" ) ) return false; return ( lhRef.GetRef() == rhRef.GetRef() && lhRef.GetRefNumber() == rhRef.GetRefNumber() );