Commit 87f9dcdb authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

kernel32: Added missing shift by 8.

parent ef2c062c
......@@ -1588,7 +1588,7 @@ BOOL WINAPI GetCPInfo( UINT codepage, LPCPINFO cpinfo )
}
if (table->info.def_char & 0xff00)
{
cpinfo->DefaultChar[0] = table->info.def_char & 0xff00;
cpinfo->DefaultChar[0] = (table->info.def_char & 0xff00) >> 8;
cpinfo->DefaultChar[1] = table->info.def_char & 0x00ff;
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment