From 949b4754e5553633f395c355a7c196162f2db868 Mon Sep 17 00:00:00 2001 From: Cirilo Bernardo Date: Mon, 2 Oct 2017 00:09:09 +0000 Subject: [PATCH] DXF: ensure "C" language environment. --- pcbnew/import_dxf/dxf2brd_items.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcbnew/import_dxf/dxf2brd_items.cpp b/pcbnew/import_dxf/dxf2brd_items.cpp index c24bbd62e5..fa3ba4ff62 100644 --- a/pcbnew/import_dxf/dxf2brd_items.cpp +++ b/pcbnew/import_dxf/dxf2brd_items.cpp @@ -47,6 +47,7 @@ #include #include #include +#include "common.h" #include // minimum bulge value before resorting to a line segment; @@ -91,6 +92,7 @@ int DXF2BRD_CONVERTER::mapDim( double aDxfValue ) bool DXF2BRD_CONVERTER::ImportDxfFile( const wxString& aFile ) { + LOCALE_IO locale; dxfRW* dxf = new dxfRW( aFile.ToUTF8() ); bool success = dxf->read( this, true );