From d3ca82b0b56382485414a05222e40370bfda938e Mon Sep 17 00:00:00 2001
From: Marek Roszko <mark.roszko@gmail.com>
Date: Fri, 9 Feb 2024 20:18:13 -0500
Subject: [PATCH] Fix another build error

---
 eeschema/sch_pin.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eeschema/sch_pin.cpp b/eeschema/sch_pin.cpp
index f020de7c3e..09367a07fd 100644
--- a/eeschema/sch_pin.cpp
+++ b/eeschema/sch_pin.cpp
@@ -220,7 +220,7 @@ wxString SCH_PIN::GetItemDescription( UNITS_PROVIDER* aUnitsProvider ) const
     }
 
     wxString itemDesc = m_libPin ? m_libPin->GetItemDescription( aUnitsProvider, alt ) :
-                                   wxS ( "Undefined library pin." );
+                                   wxString( wxS( "Undefined library pin." ) );
     return wxString::Format( "Symbol %s %s",
                              UnescapeString( GetParentSymbol()->GetField( REFERENCE_FIELD )->GetText() ),
                              itemDesc );