Browse Source

Fixes: lp:1623060 (EEschema page orientation is not retrieved when compiled with KICAD_USE_SCH_IO_MANAGER=ON)

https://bugs.launchpad.net/kicad/+bug/1623060
pull/3/merge
jp-charras 9 years ago
parent
commit
1b62fdae92
  1. 7
      eeschema/sch_legacy_plugin.cpp

7
eeschema/sch_legacy_plugin.cpp

@ -658,10 +658,13 @@ void SCH_LEGACY_PLUGIN::loadPageSettings( FILE_LINE_READER& aReader, SCH_SCREEN*
if( !pageInfo.SetType( buf ) )
SCH_PARSE_ERROR( _( "invalid page size" ), aReader, line );
int pagew = parseInt( aReader, line, &line );
int pageh = parseInt( aReader, line, &line );
if( buf == PAGE_INFO::Custom )
{
pageInfo.SetWidthMils( parseInt( aReader, line, &line ) );
pageInfo.SetHeightMils( parseInt( aReader, line, &line ) );
pageInfo.SetWidthMils( pagew );
pageInfo.SetHeightMils( pageh );
}
else
{

Loading…
Cancel
Save