mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-29 18:20:44 +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
|
||||
// contain this character yet.
|
||||
else if (i+2 < str.size() &&
|
||||
unsigned char(str[i ]) == 0xe2 &&
|
||||
unsigned char(str[i+1]) == 0x80 &&
|
||||
unsigned char(str[i+2]) == 0x99) {
|
||||
((unsigned char)str[i ]) == 0xe2 &&
|
||||
((unsigned char)str[i+1]) == 0x80 &&
|
||||
((unsigned char)str[i+2]) == 0x99) {
|
||||
result.push_back('\'');
|
||||
i += 3;
|
||||
paraOpen = false;
|
||||
|
Loading…
Reference in New Issue
Block a user