mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-20 15:36:47 +00:00
fix 2-byte utf decoding issues, fix utf8 lexing issues
This commit is contained in:
@@ -1517,7 +1517,7 @@ utf8_decode(U8 *str, U64 max){
|
||||
}break;
|
||||
case 2:
|
||||
{
|
||||
if (2 < max)
|
||||
if (1 < max)
|
||||
{
|
||||
U8 cont_byte = str[1];
|
||||
if (utf8_class[cont_byte >> 3] == 0)
|
||||
|
||||
Reference in New Issue
Block a user