Loading cvpcb/readschematicnetlist.cpp +5 −18 Original line number Diff line number Diff line Loading @@ -90,7 +90,6 @@ int WinEDA_CvpcbFrame::ReadSchematicNetlist() { char alim[1024]; int idx, jj, k, l; char* LibName; char cbuffer[BUFFER_CHAR_SIZE]; /* temporary storage */ char* ptchar; COMPONENT* Cmp; Loading Loading @@ -193,10 +192,8 @@ int WinEDA_CvpcbFrame::ReadSchematicNetlist() while( Line[idx] == ' ' ) idx++; /* idx points the component value */ LibName = Line + idx; /* Read value */ /* idx points the component value. * Read value */ ptchar = strstr( &Line[idx], " " ); // Search end of value field (space) if( ptchar == 0 ) { Loading @@ -215,6 +212,8 @@ int WinEDA_CvpcbFrame::ReadSchematicNetlist() cbuffer[jj++] = Line[idx]; } cbuffer[jj] = 0; // Copy footprint name: if( m_isEESchemaNetlist && (strnicmp( cbuffer, "$noname", 7 ) != 0) ) Cmp->m_Module = CONV_FROM_UTF8(cbuffer); if( (Line[++idx] == '(') && (Line[k - 1] == ')' ) ) Loading Loading @@ -261,18 +260,6 @@ int WinEDA_CvpcbFrame::ReadSchematicNetlist() m_components.push_back( Cmp ); if( m_isEESchemaNetlist ) /* copy footprint name: */ { if( strnicmp( LibName, "$noname", 7 ) != 0 ) { while( *LibName > ' ' ) { Cmp->m_Module.Append( *LibName ); LibName++; } } } ReadPinConnection( netlistReader, Cmp ); } Loading Loading
cvpcb/readschematicnetlist.cpp +5 −18 Original line number Diff line number Diff line Loading @@ -90,7 +90,6 @@ int WinEDA_CvpcbFrame::ReadSchematicNetlist() { char alim[1024]; int idx, jj, k, l; char* LibName; char cbuffer[BUFFER_CHAR_SIZE]; /* temporary storage */ char* ptchar; COMPONENT* Cmp; Loading Loading @@ -193,10 +192,8 @@ int WinEDA_CvpcbFrame::ReadSchematicNetlist() while( Line[idx] == ' ' ) idx++; /* idx points the component value */ LibName = Line + idx; /* Read value */ /* idx points the component value. * Read value */ ptchar = strstr( &Line[idx], " " ); // Search end of value field (space) if( ptchar == 0 ) { Loading @@ -215,6 +212,8 @@ int WinEDA_CvpcbFrame::ReadSchematicNetlist() cbuffer[jj++] = Line[idx]; } cbuffer[jj] = 0; // Copy footprint name: if( m_isEESchemaNetlist && (strnicmp( cbuffer, "$noname", 7 ) != 0) ) Cmp->m_Module = CONV_FROM_UTF8(cbuffer); if( (Line[++idx] == '(') && (Line[k - 1] == ')' ) ) Loading Loading @@ -261,18 +260,6 @@ int WinEDA_CvpcbFrame::ReadSchematicNetlist() m_components.push_back( Cmp ); if( m_isEESchemaNetlist ) /* copy footprint name: */ { if( strnicmp( LibName, "$noname", 7 ) != 0 ) { while( *LibName > ' ' ) { Cmp->m_Module.Append( *LibName ); LibName++; } } } ReadPinConnection( netlistReader, Cmp ); } Loading