Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion es-core/src/resources/Font.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ UnicodeChar Font::readUnicodeChar(const std::string& str, size_t& cursor)
else
{
// error, invalid utf8 string

LOG(LogError) << "Error invalid utf8 string when parsing file: " << str.c_str();
// if this assert is tripped, the cursor is in the middle of a utf8 code point
assert((c & 0xC0) != 0x80); // character is 10xxxxxx

Expand Down