From 98eacd5426d9b1d81cddaf7479d051b11ec63dec Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 10 Mar 2005 11:20:51 +0000 Subject: [PATCH] Allocate fonts and regions from the large heap too. --- dlls/gdi/gdiobj.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/gdi/gdiobj.c b/dlls/gdi/gdiobj.c index 6438c5b2b97..674e09e9868 100644 --- a/dlls/gdi/gdiobj.c +++ b/dlls/gdi/gdiobj.c @@ -743,6 +743,8 @@ void *GDI_AllocObject( WORD size, WORD magic, HGDIOBJ *handle, const struct gdi_ case MEMORY_DC_MAGIC: case BITMAP_MAGIC: case PALETTE_MAGIC: + case FONT_MAGIC: + case REGION_MAGIC: if (!(obj = alloc_large_heap( size, handle ))) goto error; break; }