gerbview fixes
This commit is contained in:
parent
0ebe9878aa
commit
f8100747c2
|
@ -1209,7 +1209,7 @@ bool GERBER::Execute_DCODE_Command( WinEDA_GerberFrame* frame,
|
||||||
pcb->m_Track.Append( track );
|
pcb->m_Track.Append( track );
|
||||||
D( printf( "R:%p\n", track ); )
|
D( printf( "R:%p\n", track ); )
|
||||||
fillRoundFlashTRACK( track, dcode, activeLayer,
|
fillRoundFlashTRACK( track, dcode, activeLayer,
|
||||||
m_CurrentPos, diameter, exposure );
|
curPos, diameter, exposure );
|
||||||
}
|
}
|
||||||
break;
|
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 )
|
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;
|
++text;
|
||||||
|
|
||||||
if( !*text )
|
if( !*text )
|
||||||
|
|
Loading…
Reference in New Issue