From e43a430dd6fdeddb30aa1f528b93681ab16f028a Mon Sep 17 00:00:00 2001 From: Rein Klazes Date: Fri, 24 Jan 2003 00:44:54 +0000 Subject: [PATCH] Load default stock bitmap in CreateDC(). --- objects/dc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/objects/dc.c b/objects/dc.c index 40a7be5c895..4be1034e902 100644 --- a/objects/dc.c +++ b/objects/dc.c @@ -596,7 +596,8 @@ HDC WINAPI CreateDCA( LPCSTR driver, LPCSTR device, LPCSTR output, return 0; } - dc->flags = 0; + dc->flags = 0; + dc->hBitmap = GetStockObject( DEFAULT_BITMAP ); TRACE("(driver=%s, device=%s, output=%s): returning %p\n", debugstr_a(driver), debugstr_a(device), debugstr_a(output), dc->hSelf );