mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-27 14:32:55 +00:00
Fix reading 4 byte UTF-8 text input
This commit is contained in:
parent
65121c62c9
commit
a700b76722
1 changed files with 1 additions and 1 deletions
|
@ -776,7 +776,7 @@ static void IN_ProcessEvents( void )
|
|||
else if( ( *c & 0xF8 ) == 0xF0 ) // 1111 0xxx
|
||||
{
|
||||
utf32 |= ( *c++ & 0x07 ) << 18;
|
||||
utf32 |= ( *c++ & 0x3F ) << 6;
|
||||
utf32 |= ( *c++ & 0x3F ) << 12;
|
||||
utf32 |= ( *c++ & 0x3F ) << 6;
|
||||
utf32 |= ( *c++ & 0x3F );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue