mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-01 18:00:26 +00:00
Fix gcc error: expected primary-expression before ‘unsigned’
This commit is contained in:
parent
644b0021fb
commit
0134c74926
@ -114,9 +114,9 @@ std::string parse_html(const std::string& str)
|
|||||||
// anti-aliasing (using a TTF font) as the Aseprite font doesn't
|
// anti-aliasing (using a TTF font) as the Aseprite font doesn't
|
||||||
// contain this character yet.
|
// contain this character yet.
|
||||||
else if (i+2 < str.size() &&
|
else if (i+2 < str.size() &&
|
||||||
unsigned char(str[i ]) == 0xe2 &&
|
((unsigned char)str[i ]) == 0xe2 &&
|
||||||
unsigned char(str[i+1]) == 0x80 &&
|
((unsigned char)str[i+1]) == 0x80 &&
|
||||||
unsigned char(str[i+2]) == 0x99) {
|
((unsigned char)str[i+2]) == 0x99) {
|
||||||
result.push_back('\'');
|
result.push_back('\'');
|
||||||
i += 3;
|
i += 3;
|
||||||
paraOpen = false;
|
paraOpen = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user