From b116318df9bb361a79a6634aa76924defdaac5c8 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Tue, 15 Mar 2016 12:29:16 +0100 Subject: [PATCH] Eeschema: fix a stupid bug which prevents the netlister to output the right pin electrical type in netlist. --- eeschema/lib_pin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/lib_pin.cpp b/eeschema/lib_pin.cpp index b91101074c..1220d6a088 100644 --- a/eeschema/lib_pin.cpp +++ b/eeschema/lib_pin.cpp @@ -72,7 +72,7 @@ static const BITMAP_DEF iconsPinsOrientations[] = const wxString LIB_PIN::GetCanonicalElectricalTypeName( ELECTRICAL_PINTYPE aType ) { - if( aType < 0 || aType >= (int) PINTYPE_COUNT ); + if( aType < 0 || aType >= (int) PINTYPE_COUNT ) return wxT( "???" ); // These strings are the canonical name of the electrictal type