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 ) switch( primitive_type )
{ {
case 0: // lines starting by 0 are a comment case AMP_COMMENT: // lines starting by 0 are a comment
paramCount = AMP_COMMENT; paramCount = 0;
// Skip comment // Skip comment
while( *text && (*text != '*') ) while( *text && (*text != '*') )
text++; text++;