Commit 8fc11e3b authored by jean-pierre charras's avatar jean-pierre charras

Gerbview: fixed a minor error in previous commit.

parent a9c1c49b
...@@ -897,8 +897,8 @@ bool GERBER_IMAGE::ReadApertureMacro( char buff[GERBER_BUFZ], ...@@ -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++;
......
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