This commit is contained in:
Dick Hollenbeck 2011-04-04 09:31:43 -05:00
parent 5dc3cf9816
commit f3a923d478
2 changed files with 2 additions and 3 deletions

View File

@ -39,7 +39,7 @@
static void formatAt( OUTPUTFORMATTER* out, const POINT& aPos, ANGLE aAngle, int indent=0 )
throw( IO_ERROR )
{
out->Print( indent, aAngle==0.0 ? "(at %.6g %.6g %.6g)" : "(at %.6g %.6g)",
out->Print( indent, aAngle!=0.0 ? "(at %.6g %.6g %.6g)" : "(at %.6g %.6g)",
InternalToLogical( aPos.x ), InternalToLogical( aPos.y ),
double( aAngle ) );
}

View File

@ -27,7 +27,6 @@
#include <sch_lib_table.h>
#include <sch_lpid.h>
#include <macros.h> // FROM_UTF8()
using namespace SCH;
using namespace PR;
@ -1197,7 +1196,7 @@ void SWEET_PARSER::parseText( GR_TEXT* me )
Duplicate( tok );
sawText = true;
me->text = FROM_UTF8( CurText() );
me->text = wxString::FromUTF8( CurText() );
}
}
}