From 1e770f56a64996507c10a7860e17e92247064bce Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sat, 24 Jun 2017 19:55:51 +0200 Subject: [PATCH] Fix a non ASCII7 string in a message. Only ASCII7 chars can be used in sources. Non ASCII7 symbols are not allowed because the encoding is OS dependent. --- common/preview_items/preview_utils.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/common/preview_items/preview_utils.cpp b/common/preview_items/preview_utils.cpp index 6cef9059b6..7479c7dcb5 100644 --- a/common/preview_items/preview_utils.cpp +++ b/common/preview_items/preview_utils.cpp @@ -22,13 +22,9 @@ */ #include - #include - #include -using namespace KIGFX; - COLOR4D KIGFX::PREVIEW::PreviewOverlayDefaultColor() { @@ -65,7 +61,7 @@ static wxString getDimensionUnit( EDA_UNITS_T aUnits ) return _( "mm" ); case DEGREES: - return _( "°" ); + return _( "deg" ); case UNSCALED_UNITS: break;