Commit f8100747 authored by Brian F. G. Bidulock's avatar Brian F. G. Bidulock Committed by Dick Hollenbeck

gerbview fixes

parent 0ebe9878
......@@ -1209,7 +1209,7 @@ bool GERBER::Execute_DCODE_Command( WinEDA_GerberFrame* frame,
pcb->m_Track.Append( track );
D( printf( "R:%p\n", track ); )
fillRoundFlashTRACK( track, dcode, activeLayer,
m_CurrentPos, diameter, exposure );
curPos, diameter, exposure );
}
break;
......
......@@ -537,9 +537,9 @@ bool GetEndOfBlock( char buff[GERBER_BUFZ], char*& text, FILE* gerber_file )
static bool CheckForLineEnd( char buff[GERBER_BUFZ], char*& text, FILE* fp )
{
while( *text == '\n' || !*text )
while( *text == '\n' || *text == '\r' || !*text )
{
if( *text == '\n' )
if( *text == '\n' || *text == '\r' )
++text;
if( !*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