From 7c747c1a44788e4331ed8fb2b625c34da97fa108 Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Wed, 1 Oct 2014 10:13:11 -0400 Subject: [PATCH] Fix field greater than 2 legacy footprint library file parser bug. (fixes lp:1375419) --- pcbnew/legacy_plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/legacy_plugin.cpp b/pcbnew/legacy_plugin.cpp index 7d4676f4da..bf33ae1142 100644 --- a/pcbnew/legacy_plugin.cpp +++ b/pcbnew/legacy_plugin.cpp @@ -1233,8 +1233,8 @@ void LEGACY_PLUGIN::loadMODULE( MODULE* aModule ) textm = &aModule->Value(); break; - case TEXTE_MODULE::TEXT_is_DIVERS: - // text is a drawing + // All other fields greater than 1. + default: textm = new TEXTE_MODULE( aModule ); aModule->GraphicalItems().PushBack( textm ); }