diff --git a/eeschema/sch_plugins/legacy/sch_legacy_plugin.cpp b/eeschema/sch_plugins/legacy/sch_legacy_plugin.cpp index b9d01bb243..2e6063d0d5 100644 --- a/eeschema/sch_plugins/legacy/sch_legacy_plugin.cpp +++ b/eeschema/sch_plugins/legacy/sch_legacy_plugin.cpp @@ -31,20 +31,15 @@ #include #include #include +#include // For ::ResolvePossibleSymlinks() -#include #include #include #include #include -#include -#include #include #include -#include #include -#include // For ::ResolvePossibleSymlinks() - #include #include #include @@ -56,10 +51,8 @@ #include #include #include -#include #include #include -#include #include #include #include @@ -72,9 +65,7 @@ #include #include #include // for MAX_UNIT_COUNT_PER_PACKAGE definition -#include // for PropPowerSymsOnly definition. #include -#include // For some default values #define Mils2Iu( x ) Mils2iu( x ) @@ -1535,7 +1526,7 @@ SCH_TEXT* SCH_LEGACY_PLUGIN::loadText( LINE_READER& aReader ) val.insert( i, wxT( "\n" ) ); } - text->SetText( val ); + text->SetText( ConvertToNewOverbarNotation( val ) ); return text.release(); }