Commit eb9e1f77 authored by CHARRAS's avatar CHARRAS

listboxes.cpp FootprintListBox::m_ActiveFootprint member was not initialized

parent be015fdf
...@@ -4,6 +4,13 @@ Started 2007-June-11 ...@@ -4,6 +4,13 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with Please add newer entries at the top, list the date and your name with
email address. email address.
2007-Dec-09 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
+cvpcb:
listboxes.cpp FootprintListBox::m_ActiveFootprint member was not initialized.
Can crash cvpcb (WINDOWS only, i believe)
2007-Dec-09 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr> 2007-Dec-09 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================ ================================================================================
+pcbnew: +pcbnew:
......
...@@ -70,6 +70,7 @@ FootprintListBox::FootprintListBox( WinEDA_CvpcbFrame* parent, ...@@ -70,6 +70,7 @@ FootprintListBox::FootprintListBox( WinEDA_CvpcbFrame* parent,
int nbitems, wxString choice[] ) : int nbitems, wxString choice[] ) :
ListBoxBase( parent, id, loc, size ) ListBoxBase( parent, id, loc, size )
{ {
m_ActiveFootprintList = NULL;
SetActiveFootprintList( TRUE ); SetActiveFootprintList( TRUE );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment