ntdll: Fix contents of the glyph table in generated codepage data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
117dbfa2cf
commit
5de7b6a159
|
@ -350,7 +350,7 @@ static USHORT *build_cptable( const union cptable *src, SIZE_T *size )
|
|||
if (src->sbcs.cp2uni_glyphs != src->sbcs.cp2uni)
|
||||
{
|
||||
*ptr++ = 256;
|
||||
memcpy( ptr + 1, src->sbcs.cp2uni_glyphs, 256 );
|
||||
memcpy( ptr, src->sbcs.cp2uni_glyphs, 256 * sizeof(USHORT) );
|
||||
ptr += 256;
|
||||
}
|
||||
else *ptr++ = 0;
|
||||
|
|
Loading…
Reference in New Issue