From 1672d3778228e6cbd1f9184fce87c316bcd86364 Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Sun, 19 Feb 2017 17:44:53 -0500 Subject: [PATCH] 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 --- eeschema/sch_legacy_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/sch_legacy_plugin.cpp b/eeschema/sch_legacy_plugin.cpp index 055a388082..fbf8df6475 100644 --- a/eeschema/sch_legacy_plugin.cpp +++ b/eeschema/sch_legacy_plugin.cpp @@ -2448,7 +2448,7 @@ LIB_PART* SCH_LEGACY_PLUGIN_CACHE::loadPart( FILE_LINE_READER& aReader ) while( line ) { if( *line == '#' ) // Comment - continue; + ; else if( strCompare( "Ti", line, &line ) ) // Modification date is ignored. continue; else if( strCompare( "ALIAS", line, &line ) ) // Aliases