fixed really nasty allocation error.

This commit is contained in:
michaelp%netscape.com 1998-08-13 20:39:30 +00:00
parent c7b0e97ea0
commit 3511e53592

View File

@ -377,7 +377,7 @@ nsresult nsRenderingContextWin :: Init(nsIDeviceContext* aContext,
mContext = aContext;
NS_IF_ADDREF(mContext);
mSurface = (nsDrawingSurfaceWin *)new nsRenderingContextWin();
mSurface = (nsDrawingSurfaceWin *)new nsDrawingSurfaceWin();
if (nsnull != mSurface)
{