Commit 36b4e1e2 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Replace some 16-bit calls by their 32-bit equivalents.

parent 7f862cb2
......@@ -51,7 +51,7 @@ HGDIOBJ PSDRV_SelectObject( DC *dc, HGDIOBJ handle )
ret = PSDRV_FONT_SelectObject( dc, handle, (FONTOBJ *)ptr );
break;
case REGION_MAGIC:
ret = (HGDIOBJ16)SelectClipRgn16( dc->hSelf, handle );
ret = (HGDIOBJ)SelectClipRgn( dc->hSelf, handle );
break;
default:
ERR("Unknown object magic %04x\n", GDIMAGIC(ptr->wMagic));
......
......@@ -260,7 +260,7 @@ HGDIOBJ MFDRV_SelectObject( DC *dc, HGDIOBJ handle )
ret = MFDRV_FONT_SelectObject( dc, handle, (FONTOBJ *)ptr );
break;
case REGION_MAGIC:
ret = (HGDIOBJ16)SelectClipRgn16( dc->hSelf, handle );
ret = (HGDIOBJ)SelectClipRgn( dc->hSelf, handle );
break;
}
GDI_ReleaseObj( handle );
......
......@@ -51,7 +51,7 @@ HGDIOBJ WIN16DRV_SelectObject( DC *dc, HGDIOBJ handle )
ret = WIN16DRV_FONT_SelectObject( dc, handle, (FONTOBJ *)ptr );
break;
case REGION_MAGIC:
ret = (HGDIOBJ16)SelectClipRgn16( dc->hSelf, handle );
ret = (HGDIOBJ)SelectClipRgn( dc->hSelf, handle );
break;
}
GDI_ReleaseObj( handle );
......
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