Enable LOCALE_IO in Eagle schematic import plugin

This commit is contained in:
Maciej Suminski 2017-09-20 15:25:00 +02:00
parent ce11e9a264
commit e75d76d1a8
1 changed files with 1 additions and 0 deletions

View File

@ -309,6 +309,7 @@ SCH_SHEET* SCH_EAGLE_PLUGIN::Load( const wxString& aFileName, KIWAY* aKiway,
SCH_SHEET* aAppendToMe, const PROPERTIES* aProperties )
{
wxASSERT( !aFileName || aKiway != NULL );
LOCALE_IO toggle; // toggles on, then off, the C locale.
// Load the document
wxXmlDocument xmlDocument;