Fix UTF-8 build

This commit is contained in:
Pavel Tyunin 2020-10-07 17:53:43 +03:00
parent c9dd9e96a1
commit 0ab3b4eac7
No known key found for this signature in database
GPG Key ID: EDFD0FC013D891EC

View File

@ -99,7 +99,7 @@ wxWxCharBuffer wxStringOperationsWchar::EncodeNChars(size_t n, const wxUniChar&
// UTF-8 sequences lengths
// ---------------------------------------------------------------------------
static unsigned char wxStringOperationsUtf8::GetUTF8IterOffset(unsigned char c)
unsigned char wxStringOperationsUtf8::GetUTF8IterOffset(unsigned char c)
{
unsigned char l = tableUtf8Lengths[c];
if ( !l ) //skip over invalid characters