fix unreleased bug pertaining to "Sheet" line in a *.brd file
This commit is contained in:
parent
dd091fc6b9
commit
dac20005db
|
@ -896,8 +896,8 @@ static bool ReadSheetDescr( BOARD* aBoard, BASE_SCREEN* screen, LINE_READER* aRe
|
|||
// only parse the width and height if page size is "User"
|
||||
if( wname == wxT( "User" ) )
|
||||
{
|
||||
char* width = strtok( line, delims );
|
||||
char* height = strtok( line, delims );
|
||||
char* width = strtok( NULL, delims );
|
||||
char* height = strtok( NULL, delims );
|
||||
|
||||
if( width && height )
|
||||
{
|
||||
|
|
|
@ -466,8 +466,8 @@ void KICAD_PLUGIN::loadSHEET()
|
|||
// only parse the width and height if page size is "User"
|
||||
if( wname == wxT( "User" ) )
|
||||
{
|
||||
char* width = strtok( line, delims );
|
||||
char* height = strtok( line, delims );
|
||||
char* width = strtok( NULL, delims );
|
||||
char* height = strtok( NULL, delims );
|
||||
|
||||
if( width && height )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue