Commit 82f37be9 authored by Gerard Patel's avatar Gerard Patel Committed by Alexandre Julliard

Removed DeleteObject call left over from previous patch.

parent 775a0332
......@@ -614,7 +614,6 @@ HDC16 WINAPI CreateCompatibleDC16( HDC16 hdc )
HDC WINAPI CreateCompatibleDC( HDC hdc )
{
DC *dc, *origDC;
HBITMAP hbitmap;
const DC_FUNCTIONS *funcs;
if ((origDC = (DC *)GDI_GetObjPtr( hdc, DC_MAGIC ))) funcs = origDC->funcs;
......@@ -640,7 +639,6 @@ HDC WINAPI CreateCompatibleDC( HDC hdc )
!dc->funcs->pCreateDC( dc, NULL, NULL, NULL, NULL ))
{
WARN("creation aborted by device\n");
DeleteObject( hbitmap );
GDI_HEAP_FREE( dc->hSelf );
return 0;
}
......@@ -1288,6 +1286,44 @@ HCOLORSPACE WINAPI GetColorSpace(HDC hdc)
}
/***********************************************************************
* CreateColorSpaceA (GDI32.???)
*/
HCOLORSPACE WINAPI CreateColorSpaceA( LPLOGCOLORSPACEA lpLogColorSpace )
{
FIXME( "stub\n" );
return 0;
}
/***********************************************************************
* CreateColorSpaceW (GDI32.???)
*/
HCOLORSPACE WINAPI CreateColorSpaceW( LPLOGCOLORSPACEW lpLogColorSpace )
{
FIXME( "stub\n" );
return 0;
}
/***********************************************************************
* DeleteColorSpace (GDI32.???)
*/
BOOL WINAPI DeleteColorSpace( HCOLORSPACE hColorSpace )
{
FIXME( "stub\n" );
return True;
}
/***********************************************************************
* SetColorSpace (GDI32.???)
*/
HCOLORSPACE WINAPI SetColorSpace( HDC hDC, HCOLORSPACE hColorSpace )
{
FIXME( "stub\n" );
return hColorSpace;
}
/***********************************************************************
* GetBoundsRect16 (GDI.194)
*/
UINT16 WINAPI GetBoundsRect16(HDC16 hdc, LPRECT16 rect, UINT16 flags)
......
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