Gerbview: fixed a minor error in previous commit.

This commit is contained in:
jean-pierre charras 2010-10-25 12:22:54 +02:00
parent a9c1c49be0
commit 8fc11e3b45
1 changed files with 2 additions and 2 deletions

View File

@ -897,8 +897,8 @@ bool GERBER_IMAGE::ReadApertureMacro( char buff[GERBER_BUFZ],
switch( primitive_type )
{
case 0: // lines starting by 0 are a comment
paramCount = AMP_COMMENT;
case AMP_COMMENT: // lines starting by 0 are a comment
paramCount = 0;
// Skip comment
while( *text && (*text != '*') )
text++;