summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sdl/sdl_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdl/sdl_input.c b/src/sdl/sdl_input.c
index 88ac0451..bd59cc51 100644
--- a/src/sdl/sdl_input.c
+++ b/src/sdl/sdl_input.c
@@ -825,7 +825,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 );
}