diff --git a/src/app/color.cpp b/src/app/color.cpp index 706a9563c..6265c2b06 100644 --- a/src/app/color.cpp +++ b/src/app/color.cpp @@ -227,7 +227,7 @@ std::string Color::toHumanReadableString(PixelFormat pixelFormat, HumanReadableS } else { result << "HSB " - << m_value.hsv.h << "\xB0 " + << m_value.hsv.h << "\xc2\xb0 " << m_value.hsv.s << " " << m_value.hsv.v; @@ -287,7 +287,7 @@ std::string Color::toHumanReadableString(PixelFormat pixelFormat, HumanReadableS result << "Gry-" << getGray(); } else { - result << m_value.hsv.h << "\xB0" + result << m_value.hsv.h << "\xc2\xb0" << m_value.hsv.s << "," << m_value.hsv.v; } diff --git a/src/app/ui/context_bar.cpp b/src/app/ui/context_bar.cpp index a72adfc87..443b14ea8 100644 --- a/src/app/ui/context_bar.cpp +++ b/src/app/ui/context_bar.cpp @@ -214,7 +214,7 @@ public: BrushAngleField(BrushTypeField* brushType) : IntEntry(0, 180) , m_brushType(brushType) { - setSuffix("\xB0"); + setSuffix("\xc2\xb0"); } protected: