Fix bug in legacy schematic I/O plugin.
When part definition contained in line comments, the next line was not being loaded causing and infinite loop. Fixes lp:1666024 https://bugs.launchpad.net/kicad/+bug/1666024
This commit is contained in:
parent
70301a6244
commit
1672d37782
|
@ -2448,7 +2448,7 @@ LIB_PART* SCH_LEGACY_PLUGIN_CACHE::loadPart( FILE_LINE_READER& aReader )
|
||||||
while( line )
|
while( line )
|
||||||
{
|
{
|
||||||
if( *line == '#' ) // Comment
|
if( *line == '#' ) // Comment
|
||||||
continue;
|
;
|
||||||
else if( strCompare( "Ti", line, &line ) ) // Modification date is ignored.
|
else if( strCompare( "Ti", line, &line ) ) // Modification date is ignored.
|
||||||
continue;
|
continue;
|
||||||
else if( strCompare( "ALIAS", line, &line ) ) // Aliases
|
else if( strCompare( "ALIAS", line, &line ) ) // Aliases
|
||||||
|
|
Loading…
Reference in New Issue