From c38d59a60958b403f163e0a947ecbd8f2bcd98c6 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Wed, 30 Mar 2011 13:20:05 +0200 Subject: [PATCH] Fix an error in sch_field.cpp I created in bzr 2923 version, that prevent compiling with wxWidgets 2.9.1 (was not detected by 2.8.12) --- eeschema/sch_field.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/sch_field.cpp b/eeschema/sch_field.cpp index 550500076a..30fd43abe2 100644 --- a/eeschema/sch_field.cpp +++ b/eeschema/sch_field.cpp @@ -450,7 +450,7 @@ void SCH_FIELD::Rotate( wxPoint rotationPoint ) wxString SCH_FIELD::GetSelectMenuText() const { wxString tmp; - tmp.Printf( _( "Field %s" ), GetChars( + GetName() ) ); + tmp.Printf( _( "Field %s" ), GetChars( GetName() ) ); return tmp; }