mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- Fix GetSystemPaletteEntries.
svn path=/trunk/; revision=37723
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user