mirror of
https://github.com/reactos/reactos.git
synced 2024-09-11 05:12:43 +00:00
- Fix GetSystemPaletteEntries.
svn path=/trunk/; revision=37723
This commit is contained in:
parent
96c69be3d6
commit
a919cea8f4
|
@ -98,7 +98,8 @@ GetSystemPaletteEntries(HDC hDC,
|
|||
if (ppe)
|
||||
{
|
||||
RtlZeroMemory( &ippe, sizeof(ippe) );
|
||||
RtlCopyMemory( &ippe, &sys_pal_template, sizeof(sys_pal_template) );
|
||||
RtlCopyMemory( &ippe, &sys_pal_template, 10 * sizeof(PALETTEENTRY) );
|
||||
RtlCopyMemory( &ippe + 246 , &sys_pal_template + 10 , 10 * sizeof(PALETTEENTRY) );
|
||||
|
||||
if (iStartIndex < 256)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue