Commit 5de7b6a1 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Fix contents of the glyph table in generated codepage data.

parent 117dbfa2
......@@ -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;
......
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