Display theta character correctly in ruler tool

Fixes: lp:1749549
* https://bugs.launchpad.net/kicad/+bug/1749549
This commit is contained in:
Maciej Suminski 2018-02-26 10:38:34 +01:00
parent 319b7cfc67
commit b9285cf0e5
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ static void drawCursorStrings( KIGFX::VIEW* aView, const VECTOR2D& aCursor,
cursorStrings.push_back( DimensionLabel( "r", aRulerVec.EuclideanNorm(), g_UserUnit ) ); cursorStrings.push_back( DimensionLabel( "r", aRulerVec.EuclideanNorm(), g_UserUnit ) );
double degs = RAD2DECIDEG( -aRulerVec.Angle() ); double degs = RAD2DECIDEG( -aRulerVec.Angle() );
cursorStrings.push_back( DimensionLabel( "θ", degs, DEGREES ) ); cursorStrings.push_back( DimensionLabel( wxString::FromUTF8( "θ" ), degs, DEGREES ) );
for( auto& str: cursorStrings ) for( auto& str: cursorStrings )
{ {