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
This commit is contained in:
parent
516510774c
commit
1b62fdae92
|
@ -658,10 +658,13 @@ void SCH_LEGACY_PLUGIN::loadPageSettings( FILE_LINE_READER& aReader, SCH_SCREEN*
|
||||||
if( !pageInfo.SetType( buf ) )
|
if( !pageInfo.SetType( buf ) )
|
||||||
SCH_PARSE_ERROR( _( "invalid page size" ), aReader, line );
|
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 )
|
if( buf == PAGE_INFO::Custom )
|
||||||
{
|
{
|
||||||
pageInfo.SetWidthMils( parseInt( aReader, line, &line ) );
|
pageInfo.SetWidthMils( pagew );
|
||||||
pageInfo.SetHeightMils( parseInt( aReader, line, &line ) );
|
pageInfo.SetHeightMils( pageh );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue