Commit 5faa5d74 authored by Gerard Patel's avatar Gerard Patel Committed by Alexandre Julliard

Restored the hPseudoBitmap hack for programs deleting the 1x1 bitmap

in memory DCs.
parent 2ad1a94d
......@@ -507,6 +507,7 @@ BOOL WINAPI DeleteObject( HGDIOBJ obj )
/* NOTE: No GDI_Release is necessary */
return TRUE;
}
if (obj == hPseudoStockBitmap) return TRUE;
if (!(header = GDI_GetObjPtr( obj, MAGIC_DONTCARE ))) return FALSE;
TRACE("%04x\n", obj );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment