From 8e7fe9dab202426740003710cf703f8456691e29 Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Wed, 25 Jan 2017 09:25:05 -0500 Subject: [PATCH] Fix spice simulator build error due to EDA_TEXT changes. --- eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp b/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp index 9f15d12e47..8d48950dff 100644 --- a/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp +++ b/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp @@ -3,7 +3,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2011-2013 SoftPLC Corporation, Dick Hollenbeck - * Copyright (C) 2007-2016 KiCad Developers, see change_log.txt for contributors. + * Copyright (C) 2007-2017 KiCad Developers, see change_log.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -325,7 +325,7 @@ void DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB::EditSpiceModel( wxCommandEvent& event ) for( unsigned ii = 0; ii < m_FieldsBuf.size(); ++ii ) { LIB_FIELD& libfield = m_FieldsBuf[ii]; - SCH_FIELD schfield( libfield.GetTextPosition(), libfield.GetId(), + SCH_FIELD schfield( libfield.GetTextPos(), libfield.GetId(), &component, libfield.GetName() ); schfield.ImportValues( m_FieldsBuf[ii] ); schfield.SetText( m_FieldsBuf[ii].GetText() );