Added forgotten initialization.

This commit is contained in:
warren%netscape.com 1999-02-23 08:01:02 +00:00
Родитель fca4eda62f
Коммит 01f7011acc
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -207,7 +207,7 @@ PRInt32 sspan,dspan,mspan;
void
nsBlender::Do24Blend(PRUint8 aBlendVal,PRInt32 aNumlines,PRInt32 aNumbytes,PRUint8 *aSImage,PRUint8 *aDImage,PRUint8 *aSecondSImage,PRInt32 aSLSpan,PRInt32 aDLSpan,nsBlendQuality aBlendQuality,nscolor aSrcBackColor, nscolor aSecondSrcBackColor, nsPixelFormat &aPixFormat)
{
PRUint8 *d1,*d2,*s1,*s2,*ss1,*ss2;
PRUint8 *d1,*d2,*s1,*s2,*ss1;
PRUint32 val1,val2;
PRInt32 x,y,temp1,numlines,xinc,yinc;
PRUint16 srccolor,secsrccolor;

Просмотреть файл

@ -271,7 +271,7 @@ SetUpBlend()
{
void *bits1,*bits2;
nsresult rv;
nsIDeviceContext *dx;
nsIDeviceContext *dx = nsnull;
static NS_DEFINE_IID(kBlenderCID, NS_BLENDER_CID);
static NS_DEFINE_IID(kBlenderIID, NS_IBLENDER_IID);
@ -321,7 +321,7 @@ Restore(nsIBlender *aBlender,nsIImage *aImage)
PRUint8 *thebytes,*curbyte,*srcbytes,*cursourcebytes;
PRUint16 *cur16;
PRInt32 w,h,ls,x,y,numbytes,sls;
HDC dstdc;
HDC dstdc = 0;
HBITMAP srcbits,tb1;
BITMAP srcinfo;
LPBITMAPINFOHEADER srcbinfo;
@ -514,7 +514,7 @@ nsresult result = NS_ERROR_FAILURE;
PRUint8 *thebytes,*curbyte,*srcbytes,*cursourcebytes;
PRUint16 *cur16;
PRInt32 w,h,ls,x,y,numbytes,sls;
HDC srcdc,dstdc;
HDC srcdc = 0,dstdc = 0;
HBITMAP srcbits,tb1;
BITMAP srcinfo;
LPBITMAPINFOHEADER srcbinfo;