Fix eagle_plugin issue (File not found) under Windows.

This commit is contained in:
jean-pierre charras 2012-06-03 17:47:53 +02:00
parent 20a6b7ea70
commit 2475b2b6f7
1 changed files with 2 additions and 2 deletions

View File

@ -975,7 +975,7 @@ BOARD* EAGLE_PLUGIN::Load( const wxString& aFileName, BOARD* aAppendToMe, PROPE
// 8 bit "filename" should be encoded according to disk filename encoding,
// (maybe this is current locale, maybe not, its a filesystem issue),
// and is not necessarily utf8.
std::string filename = (const char*) aFileName.fn_str();
std::string filename = (const char*) aFileName.char_str( wxConvFile );
read_xml( filename, doc, xml_parser::trim_whitespace | xml_parser::no_comments );
@ -2443,4 +2443,4 @@ bool EAGLE_PLUGIN::IsFootprintLibWritable( const wxString& aLibraryPath )
return true;
}
*/
*/