Eeschema: fix copy and paste issue when non-C locales are involved.
Fixes https://gitlab.com/kicad/code/kicad/issues/4449
This commit is contained in:
parent
cec857c0f4
commit
ad6857f131
|
@ -779,6 +779,8 @@ void SCH_SEXPR_PLUGIN::Format( EE_SELECTION* aSelection, OUTPUTFORMATTER* aForma
|
|||
{
|
||||
wxCHECK( aSelection && aFormatter, /* void */ );
|
||||
|
||||
LOCALE_IO toggle;
|
||||
|
||||
m_out = aFormatter;
|
||||
|
||||
size_t i;
|
||||
|
@ -2342,6 +2344,7 @@ LIB_PART* SCH_SEXPR_PLUGIN::ParsePart( LINE_READER& aReader, int aFileVersion )
|
|||
|
||||
void SCH_SEXPR_PLUGIN::FormatPart( LIB_PART* part, OUTPUTFORMATTER & formatter )
|
||||
{
|
||||
|
||||
SCH_SEXPR_PLUGIN_CACHE::SaveSymbol( part, formatter );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue