mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 19:20:09 +00:00
Fix Unicode characters encoding (we've to use utf-8) in Color::toHumanReadableString() and BrushAngleField()
This commit is contained in:
parent
ad0b28bd63
commit
033aad9d28
@ -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;
|
||||
}
|
||||
|
@ -214,7 +214,7 @@ public:
|
||||
BrushAngleField(BrushTypeField* brushType)
|
||||
: IntEntry(0, 180)
|
||||
, m_brushType(brushType) {
|
||||
setSuffix("\xB0");
|
||||
setSuffix("\xc2\xb0");
|
||||
}
|
||||
|
||||
protected:
|
||||
|
Loading…
x
Reference in New Issue
Block a user