It looks like this should fix the bustage. |surf| is ultimately a nsIDrawingSurface, and that's what Init is looking for (well, that, and nsIWidget, but I doubt it's that ;-) )

This commit is contained in:
jag%tty.nl 2004-07-25 08:21:05 +00:00
parent a9a01ddbe3
commit 7b23729525

View File

@ -326,7 +326,7 @@ nsresult nsDeviceContextOS2::CreateRenderingContext( nsIRenderingContext *&aCont
surf->Init( mPrintPS, mWidth, mHeight, 0);
nsresult rc = pContext->Init( this, (void*)((nsDrawingSurfaceOS2 *) surf));
nsresult rc = pContext->Init(this, surf);
if( NS_OK != rc)
{