Browse Source

Display theta character correctly in ruler tool

Fixes: lp:1749549
* https://bugs.launchpad.net/kicad/+bug/1749549
pull/5/merge
Maciej Suminski 8 years ago
parent
commit
b9285cf0e5
  1. 2
      common/preview_items/ruler_item.cpp

2
common/preview_items/ruler_item.cpp

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

Loading…
Cancel
Save