Commit bbc626b7 authored by Dick Hollenbeck's avatar Dick Hollenbeck

plugin testing has started

parent a9e23996
......@@ -1737,6 +1737,8 @@ void KICAD_PLUGIN::loadPCB_TEXT()
GRTextHorizJustifyType hj;
if( hJustify )
{
switch( *hJustify )
{
default:
......@@ -1744,6 +1746,9 @@ void KICAD_PLUGIN::loadPCB_TEXT()
case 'L': hj = GR_TEXT_HJUSTIFY_LEFT; break;
case 'R': hj = GR_TEXT_HJUSTIFY_RIGHT; break;
}
}
else
hj = GR_TEXT_HJUSTIFY_CENTER;
pcbtxt->SetHorizJustify( hj );
......@@ -2204,7 +2209,7 @@ void KICAD_PLUGIN::loadDIMENSION()
const char* data;
char* line = m_reader->Line();
if( TESTLINE( "$EndDIMENSION" ) )
if( TESTLINE( "$endCOTATION" ) )
{
m_board->Add( dim.release(), ADD_APPEND );
return; // preferred exit
......@@ -2387,7 +2392,7 @@ void KICAD_PLUGIN::loadDIMENSION()
}
}
THROW_IO_ERROR( "Missing '$EndDIMENSION'" );
THROW_IO_ERROR( "Missing '$endCOTATION'" );
}
......
......@@ -104,7 +104,7 @@ protected:
/**
* Function degParse
* parses an ASCII decimal floating point value which is certainy an angle. This
* parses an ASCII decimal floating point value which is certainly an angle. This
* is a dedicated function for encapsulating support for the migration from
* tenths of degrees to degrees in floating point. This function is the complement of
* fmtDEG(). One has to know what the other is doing.
......
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