[GDI32]: Don't destroy the heap when calling GetSystemPaletteEntries. Note to whoever...
authorSir Richard <sir_richard@svn.reactos.org>
Tue, 7 Sep 2010 07:50:51 +0000 (07:50 +0000)
committerSir Richard <sir_richard@svn.reactos.org>
Tue, 7 Sep 2010 07:50:51 +0000 (07:50 +0000)
commitb96cb710f4b4aa2b28278241b09729e03586e622
tree5ebfd75a98bbceb038a82a238d4c73b51ff8ca60
parent65fc01dc9236ea9c94be4c262660f7aad434e173
[GDI32]: Don't destroy the heap when calling GetSystemPaletteEntries. Note to whoever wrote "//make this work": (&array[x]) is defintely not equal to (&array + x). This is why we don't use pointers-to-arrays, among other reasons.
[GDI32]: Reformat GetSystemPaletteEntries away from grotesque 5-space identation (who does that?).
[GDI32]: Optimize GetSystemPaletteEntries by not zeroing over fields that get overwritten anyway.
[GDI32]: Simplify loop control, remove not-needed local variable in GetSystemPaletteEntries.

svn path=/trunk/; revision=48716
reactos/dll/win32/gdi32/objects/palette.c