EngCreateClip must allocate CLIPGDI, not only CLIPOBJ

svn path=/trunk/; revision=33739
This commit is contained in:
Timo Kreuzer 2008-05-28 17:22:49 +00:00
parent 492a434c2b
commit cf00bb3cc7

View file

@ -266,7 +266,7 @@ IntEngCreateClipRegion(ULONG count, PRECTL pRect, PRECTL rcBounds)
CLIPOBJ * STDCALL
EngCreateClip(VOID)
{
CLIPGDI *Clip = EngAllocMem(FL_ZERO_MEMORY, sizeof(CLIPOBJ), TAG_CLIPOBJ);
CLIPGDI *Clip = EngAllocMem(FL_ZERO_MEMORY, sizeof(CLIPGDI), TAG_CLIPOBJ);
if(Clip != NULL)
{
return GDIToObj(Clip, CLIP);