fixing build bustage

This commit is contained in:
pavlov%pavlov.net 2006-09-05 22:28:50 +00:00
parent 9388b24547
commit 50e1abfc01

View File

@ -178,7 +178,7 @@ nsresult nsBMPDecoder::WriteRLERows(PRUint32 rows)
for (cnt = 0; cnt < rows; cnt++) {
line = (mBIH.height < 0) ? (-mBIH.height - mCurLine--) : --mCurLine;
#ifndef MOZ_CAIRO_GFX
rv = mFrame->SetAlphaData(mAlpha, alpha, line * abpr);
rv = mFrame->SetAlphaData(mAlpha, abpr, line * abpr);
NS_ENSURE_SUCCESS(rv, rv);
#endif
rv = mFrame->SetImageData(mDecoded, mBpr, line * mBpr);