Commit f3590e51 authored by charras's avatar charras
Browse files

pcbnew: fixed a crash when removing A netclass. More about netclass work.

parent b0a52709
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -688,7 +688,7 @@ bool LIB_COMPONENT::Load( FILE* file, char* line, int* lineNum,
        || ( p = strtok( NULL, " \t\n" ) ) == NULL       /* m_UnitCount: */
        || sscanf( p, "%d", &m_UnitCount ) != 1 )
    {
        errorMsg.Printf( _( "Wrong DEF format in line %d, skipped." ),
        errorMsg.Printf( wxT( "Wrong DEF format in line %d, skipped." ),
                         *lineNum );
        while( GetLine( file, line, lineNum, 1024 ) )
        {
+1 −1
Original line number Diff line number Diff line
@@ -1025,7 +1025,7 @@ with pin %s at location (%d, %d)" ),
        if( m_showDeMorgan )
        {
            if( curr_pin->m_Convert )
                msg += _( "  of converion" );
                msg += _( "  of converted" );
            else
                msg += _( "  of normal" );
        }
+0 −3
Original line number Diff line number Diff line
@@ -135,7 +135,6 @@ class RATSNEST_ITEM;
#include "class_board.h"

// Class for handle current printed board design settings
#define HISTORY_NUMBER 8
class EDA_BoardDesignSettings
{
public:
@@ -146,11 +145,9 @@ public:
    int    m_CurrentViaSize;                        // Current via size
    int    m_CurrentMicroViaSize;                   // Current micro via size
    bool   m_MicroViasAllowed;                      // true to allow micro vias
    int    m_ViaSizeHistory[HISTORY_NUMBER];        // Last HISTORY_NUMBER used via sizes
    int    m_CurrentViaType;                        // via type (VIA_BLIND_BURIED, VIA_TROUGHT VIA_MICROVIA)
    int    m_CurrentTrackWidth;                     // current track width
    bool   m_UseConnectedTrackWidth;                // if true, when creating a new track starting on an existing track, use this track width
    int    m_TrackWidthHistory[HISTORY_NUMBER];     // Last HISTORY_NUMBER used track widths
    int    m_DrawSegmentWidth;                      // current graphic line width (not EDGE layer)
    int    m_EdgeSegmentWidth;                      // current graphic line width (EDGE layer only)
    int    m_PcbTextWidth;                          // current Pcb (not module) Text width
+1.69 KiB (190 KiB)

File changed.

No diff preview for this file type.

+3456 −3450

File changed.

Preview size limit exceeded, changes collapsed.

Loading