diff --git a/headers/private/interface/utf8_functions.h b/headers/private/interface/utf8_functions.h index cdb215a400..92e80ba84a 100644 --- a/headers/private/interface/utf8_functions.h +++ b/headers/private/interface/utf8_functions.h @@ -161,7 +161,7 @@ UTF8ToCharCode(const char **bytes) mask <<= 1; if (mask == 0x40) - break; + return result; } if (mask == 0x40)