Allocate palette objects on the large gdi heap.

This commit is contained in:
Rein Klazes 2003-01-21 19:27:59 +00:00 committed by Alexandre Julliard
parent b4a3f1dc68
commit e8d7f24fc0
1 changed files with 1 additions and 0 deletions

View File

@ -693,6 +693,7 @@ void *GDI_AllocObject( WORD size, WORD magic, HGDIOBJ *handle, const struct gdi_
case ENHMETAFILE_MAGIC: case ENHMETAFILE_MAGIC:
case ENHMETAFILE_DC_MAGIC: case ENHMETAFILE_DC_MAGIC:
case BITMAP_MAGIC: case BITMAP_MAGIC:
case PALETTE_MAGIC:
if (!(obj = alloc_large_heap( size, handle ))) goto error; if (!(obj = alloc_large_heap( size, handle ))) goto error;
break; break;
} }